spinetoolbox.widgets.plot_canvas
A Qt widget to use as a matplotlib backend.
Module Contents
Classes
Generic enumeration. |
|
A widget for plotting with matplotlib. |
- class spinetoolbox.widgets.plot_canvas.LegendPosition[source]
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- class spinetoolbox.widgets.plot_canvas.PlotCanvas(parent=None, legend_axes_position=LegendPosition.BOTTOM)[source]
Bases:
matplotlib.backends.backend_qt5agg.FigureCanvasQTAgg
A widget for plotting with matplotlib.
- Parameters
legend_axes_position (LegendPosition) – legend axes position relative to plot axes
parent (QWidget, optional) – a parent widget