matplotlib 3.5.1

AttributesBackRef

Attributes

dataLim : `.Bbox`

The bounding box enclosing all data displayed in the Axes.

viewLim : `.Bbox`

The view limits in data coordinates.

The Axes instance supports callbacks through a callbacks attribute which is a ~.cbook.CallbackRegistry instance. The events you can connect to are 'xlim_changed' and 'ylim_changed' and the callback will be called with func(ax) where ax is the Axes instance.

The Axes contains most of the figure elements: ~.axis.Axis , ~.axis.Tick , ~.lines.Line2D , ~.text.Text , ~.patches.Polygon , etc., and sets the coordinate system.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.widgets matplotlib.figure.FigureBase.align_ylabels matplotlib.backend_tools.ToolViewsPositions._axes_pos matplotlib.pyplot.figimage matplotlib.figure.FigureBase.align_labels matplotlib.widgets.AxesWidget matplotlib.pyplot.box matplotlib.widgets.CheckButtons.__init__ matplotlib.pyplot.subplots matplotlib.figure.Figure.figimage matplotlib.figure.FigureBase.align_xlabels matplotlib.backend_bases.FigureCanvasBase.mpl_connect matplotlib.pyplot.connect matplotlib.axes._axes.Axes matplotlib.widgets.Button matplotlib.axes._axes.Axes.inset_axes matplotlib.figure.FigureBase.subplots

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/axes/_axes.py#46
type: <class 'type'>
Commit: