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: QObject

This 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

clear_data()[source]
show_min_max(show=True)[source]
update_axis(history_length)[source]
update_colors(colors)[source]
update_data(data, force_update=False)[source]
update_display_items(data=None)[source]
property Ndata
property axis
property legend: LegendItem
property legend_names: List[str]
class pymodaq_gui.plotting.data_viewers.viewer0D.View0D(parent_widget=None, show_toolbar=True, no_margins=False)[source]

Bases: ActionManager, QObject

Attributes:
plotitem

Methods

setup_actions()

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]
display_data(data, displayer=None, **kwargs)[source]
get_double_clicked()[source]
remove_data_displayer(displayer_name)[source]
setup_actions()[source]
show_data_list(state=None)[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: ViewerBase

this 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

update_colors(colors, displayer=None)[source]
property labels
pymodaq_gui.plotting.data_viewers.viewer0D.main()[source]
pymodaq_gui.plotting.data_viewers.viewer0D.main_view()[source]