matplotlib.backends.backend_qt5agg
¶Render to qt from agg
matplotlib.backends.backend_qt5agg.
FigureCanvas
¶alias of FigureCanvasQTAgg
matplotlib.backends.backend_qt5agg.
FigureCanvasQTAgg
(figure)¶Bases: matplotlib.backends.backend_qt5agg.FigureCanvasQTAggBase
, matplotlib.backends.backend_qt5.FigureCanvasQT
, matplotlib.backends.backend_agg.FigureCanvasAgg
The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc.
Modified to import from Qt5 backend for new-style mouse events.
Public attribute
figure - A Figure instance
matplotlib.backends.backend_qt5agg.
FigureCanvasQTAggBase
(figure)¶Bases: object
The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc...
Public attribute
figure - A Figure instance
blit
(bbox=None)¶Blit the region in bbox
draw
()¶Draw the figure with Agg, and queue a request for a Qt draw.
drawRectangle
(rect)¶draw_idle
()¶Queue redraw of the Agg buffer and request Qt paintEvent.
paintEvent
(e)¶Copy the image from the Agg canvas to the qt.drawable. In Qt, all drawing should be done inside of here when a widget is shown onscreen.
print_figure
(*args, **kwargs)¶matplotlib.backends.backend_qt5agg.
new_figure_manager
(num, *args, **kwargs)¶Create a new figure manager instance
matplotlib.backends.backend_qt5agg.
new_figure_manager_given_figure
(num, figure)¶Create a new figure manager instance for the given figure.