7.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:
QObjectthis 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
- set_axis_label(axis_settings={'label': 'x axis', 'orientation': 'bottom', 'units': 'pxls'})[source]
- property labels
- roi_line_signal
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- roi_region_signal
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- property x_axis