8.5.5.1.3. pymodaq_gui.plotting.data_viewers.viewer0D module
- class pymodaq_gui.plotting.data_viewers.viewer0D.DataDisplayer(plotitem, plot_colors=[{'color': (255, 0, 0)}, {'color': (0, 255, 0)}, {'color': (0, 0, 255)}, {'color': (14, 207, 189)}, {'color': (207, 14, 166)}, {'color': (207, 204, 14)}])[source]
Bases:
QObjectThis Object deals with the display of 0D data on a plotitem
- Attributes:
- Ndata
- axis
- legend
- legend_names
Methods
clear_data
labels_changed
show_min_max
update_axis
update_colors
update_data
update_display_items
updated_item
- property Ndata
- property axis
- property legend: LegendItem
- class pymodaq_gui.plotting.data_viewers.viewer0D.View0D(parent_widget=None, show_toolbar=True, no_margins=False)[source]
Bases:
ActionManager,QObject- Attributes:
- plotitem
Methods
add_data_displayer
display_data
get_double_clicked
remove_data_displayer
show_data_list
- add_data_displayer(displayer_name, plot_colors=[{'color': (255, 0, 0)}, {'color': (0, 255, 0)}, {'color': (0, 0, 255)}, {'color': (14, 207, 189)}, {'color': (207, 14, 166)}, {'color': (207, 204, 14)}])[source]
- data_displayer: DataDisplayer
- other_data_displayers: Dict[str, DataDisplayer]
- plot_widget: PlotWidget
- property plotitem
- class pymodaq_gui.plotting.data_viewers.viewer0D.Viewer0D(parent=None, title='', show_toolbar=True, no_margins=False)[source]
Bases:
ViewerBasethis plots 0D data on a plotwidget with history. Display as numbers in a table is possible.
Datas and measurements are then exported with the signal data_to_export_signal
- Attributes:
- labels
Methods
update_colors
- property labels