8.5.5.1.5. pymodaq_gui.plotting.data_viewers.viewer1Dbasic module

class pymodaq_gui.plotting.data_viewers.viewer1Dbasic.Viewer1DBasic(parent=None, show_region=False, show_line=False)[source]

Bases: QObject

this plots 1D data on a plotwidget. one linear region to select data, one infinite line to select point

Attributes:
labels
x_axis

Methods

get_line_position

ini_data_plots

remove_plots

roi_line_signal

roi_region_signal

set_axis_label

setup_ui

show

show_data

show_roi_line

show_roi_region

update_labels

update_line

update_region

get_line_position()[source]
ini_data_plots(Nplots)[source]
remove_plots()[source]
set_axis_label(axis_settings={'label': 'x axis', 'orientation': 'bottom', 'units': 'pxls'})[source]
setup_ui()[source]
show(state=True)[source]
show_data(datas)[source]
show_roi_line(show=True)[source]
show_roi_region(show=True)[source]
update_labels(labels=[])[source]
update_line(item)[source]
update_region(item)[source]
property labels
property x_axis