matplotlib.backend_bases

Abstract base classes define the primitives that renderers and graphics contexts must implement to serve as a Matplotlib backend.

RendererBase

An abstract base class to handle drawing/rendering operations.

FigureCanvasBase

The abstraction layer that separates the .Figure from the backend specific details like a user interface drawing area.

GraphicsContextBase

An abstract base class that provides color, line styles, etc.

Event

The base class for all of the Matplotlib event handling. Derived classes such as KeyEvent and MouseEvent store the meta data like keys and buttons pressed, x and y locations in pixel and ~.axes.Axes coordinates.

ShowBase

The base class for the Show class of each interactive backend; the ‘show’ callable is then set to Show.__call__.

ToolContainerBase

The base class for the Toolbar class of each interactive backend.