Matplotlib backend to include matplotlib figures as dockwidgets in the psyplot gui
This backend is based upon matplotlibs qt4agg and qt5agg backends.
Classes:
alias of |
|
alias of |
|
A simple container for figures in the psyplot backend |
|
Reimplemented QDockWidget to remove the dock widget when closed |
|
|
The canvas class with reimplemented resizing |
|
The canvas manager for the psyplot backend interacting with the mainwindow of the psyplot gui |
Functions:
|
Create a new figure manager instance |
|
Create a new figure manager instance for the given figure. |
- psyplot_gui.backend.FigureCanvas
alias of
PsyplotCanvas
Methods:resizeEvent
(event)Reimplemented to make sure that the figure is only resized for events with height and width greater 0
- psyplot_gui.backend.FigureManager
alias of
PsyplotCanvasManager
Methods:resize
(width, height)For GUI backends, resize the window (in physical pixels).
statusBar
(*args, **kwargs)Attributes:
toolbar
- class psyplot_gui.backend.FigureWidget[source]
Bases:
DockMixin
,QWidget
A simple container for figures in the psyplot backend
Classes:
alias of
FiguresDock
- dock_cls
alias of
FiguresDock
Methods:close
(*args, **kwargs)Reimplemented to remove the dock widget from the mainwindow when closed
- class psyplot_gui.backend.FiguresDock[source]
Bases:
QDockWidget
Reimplemented QDockWidget to remove the dock widget when closed
Methods:
close
(*args, **kwargs)Reimplemented to remove the dock widget from the mainwindow when closed
- class psyplot_gui.backend.PsyplotCanvas(figure=None)[source]
Bases:
FigureCanvasQTAgg
The canvas class with reimplemented resizing
Methods:
resizeEvent
(event)Reimplemented to make sure that the figure is only resized for events with height and width greater 0
- class psyplot_gui.backend.PsyplotCanvasManager(canvas, num)[source]
Bases:
FigureManagerQT
The canvas manager for the psyplot backend interacting with the mainwindow of the psyplot gui
Methods:
resize
(width, height)For GUI backends, resize the window (in physical pixels).
statusBar
(*args, **kwargs)Attributes:
- toolbar = None