spinetoolbox.widgets.plot_widget¶
A Qt widget showing a toolbar and a matplotlib plotting canvas.
| author: |
|
|---|---|
| date: | 27.6.2019 |
Module Contents¶
Classes¶
PlotWidget |
A widget that contains a toolbar and a plotting canvas. |
Functions¶
_prepare_plot_in_window_menu(menu) |
Fills a given menu with available plot window names. |
-
class
spinetoolbox.widgets.plot_widget.PlotWidget(parent=None)[source]¶ Bases:
PySide2.QtWidgets.QWidgetA widget that contains a toolbar and a plotting canvas.
-
canvas¶ the plotting canvas
Type: PlotCanvas
-
plot_type¶ type of currently plotted data or None
Type: type
-
Fills a given menu with available plot window names.