matplotlib 3.5.1

AttributesBackRef

Attributes

patch :

The .Rectangle instance representing the figure background patch.

suppressComposite :

For multiple images, the figure will make composite images depending on the renderer option_image_nocomposite function. If suppressComposite is a boolean, this will override the renderer.

The Figure instance supports callbacks through a callbacks attribute which is a .CallbackRegistry instance. The events you can connect to are 'dpi_changed', and the callback will be called with func(fig) where fig is the Figure instance.

The top level container for all the plot elements.

Examples

See :

Back References

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

matplotlib

194 Elements
matplotlib.axes._axes.Axes.broken_barh
matplotlib.artist.DrawingArea.set
matplotlib
matplotlib.artist.Patch.set
matplotlib.patches.RegularPolygon.__init__
matplotlib.artist.Artist.set_figure
matplotlib.axes._axes.Axes.cohere
matplotlib.pyplot.close
matplotlib.artist.ThetaAxis.set
matplotlib.artist.AsteriskPolygonCollection.set
matplotlib.artist.QuadMesh.set
matplotlib.pyplot.errorbar
matplotlib.table.Table
matplotlib.pyplot.angle_spectrum
matplotlib.backend_bases.FigureCanvasBase.draw
matplotlib.artist.CirclePolygon.set
matplotlib.axes._axes.Axes.quiver
matplotlib.artist.TextArea.set
matplotlib.pyplot.pcolor
matplotlib.artist.YTick.set
matplotlib.patches.Wedge.__init__
matplotlib.axes._axes.Axes.magnitude_spectrum
matplotlib.artist.BrokenBarHCollection.set
matplotlib.pyplot.fill_between
matplotlib.table.Cell.set_text_props
matplotlib.axes._base._AxesBase.__init__
matplotlib.figure.FigureBase
matplotlib.patches.Polygon.__init__
matplotlib.artist.StepPatch.set
matplotlib.artist.OffsetImage.set
matplotlib.pyplot.axvline
matplotlib.pyplot.axvspan
matplotlib.artist.RadialAxis.set
matplotlib.axes._axes.Axes.axhline
matplotlib.artist.BboxImage.set
matplotlib.patches.PathPatch.__init__
matplotlib.artist.PathCollection.set
matplotlib.axes._axes.Axes.barbs
matplotlib.figure
matplotlib.artist.Table.set
matplotlib.artist.PatchCollection.set
matplotlib.patches.FancyArrowPatch.__init__
matplotlib.artist.Ellipse.set
matplotlib.patches.FancyArrow.__init__
matplotlib.artist.AnchoredOffsetbox.set
matplotlib.axes._axes.Axes.phase_spectrum
matplotlib.axes._axes.Axes.axhspan
matplotlib.artist.Shadow.set
matplotlib.pyplot.barbs
matplotlib.pyplot.text
matplotlib.patches.Patch.__init__
matplotlib.artist.Rectangle.set
matplotlib.patches.Circle.__init__
matplotlib.figure.Figure.__init__
matplotlib.figure.FigureBase.add_axes
matplotlib.patches.Arrow.__init__
matplotlib.artist.HPacker.set
matplotlib.artist.RegularPolygon.set
matplotlib.artist.FancyArrowPatch.set
matplotlib.axes._axes.Axes.fill_between
matplotlib.artist.PolyCollection.set
matplotlib.artist.AxesImage.set
matplotlib.artist.LineCollection.set
matplotlib.lines.Line2D.__init__
matplotlib.pyplot.psd
matplotlib.pyplot.plot
matplotlib.pyplot.figtext
matplotlib.figure.FigureBase.text
matplotlib.artist.Axis.set
matplotlib.widgets.SubplotTool
matplotlib.artist.Line2D.set
matplotlib.patches.FancyBboxPatch.__init__
matplotlib.axes._axes.Axes.arrow
matplotlib.artist.VPacker.set
matplotlib.artist._make_class_factory.<locals>.class_factory.<locals>.subcls.set
matplotlib.pyplot.bar
matplotlib.axes._base._AxesBase.set_position
matplotlib.artist.LambertAxes.set
matplotlib.artist.Axes.set
matplotlib.artist.Tick.set
matplotlib.pyplot.axhspan
matplotlib.artist.PcolorImage.set
matplotlib.pyplot.csd
matplotlib.backend_bases._get_renderer
matplotlib.artist.CircleCollection.set
matplotlib.artist.Artist.get_figure
matplotlib.artist.Legend.set
matplotlib.axes._axes.Axes.hexbin
matplotlib.artist.SubFigure.set
matplotlib.axes._axes.Axes.spy
matplotlib.pyplot.table
matplotlib.offsetbox.OffsetBox.set_figure
matplotlib.artist.Figure.set
matplotlib.axes._axes.Axes.fill_betweenx
matplotlib.axes._axes.Axes.pcolor
matplotlib.patches.CirclePolygon.__init__
matplotlib.quiver.Barbs.__init__
matplotlib.artist.Wedge.set
matplotlib.pyplot.pcolormesh
matplotlib.artist.Collection.set
matplotlib.artist.FigureImage.set
matplotlib.pyplot.hexbin
matplotlib.artist.TriMesh.set
matplotlib.artist.PaddedBox.set
matplotlib.artist.Spine.set
matplotlib.axes._axes.Axes.bar
matplotlib.patches.Ellipse.__init__
matplotlib.patches.StepPatch.__init__
matplotlib.artist.AnchoredText.set
matplotlib.patches.Rectangle.__init__
matplotlib.axes._axes.Axes.indicate_inset
matplotlib.patches.Shadow.__init__
matplotlib.spines.Spine.__init__
matplotlib.pyplot.plot_date
matplotlib.backend_bases
matplotlib.artist.Arrow.set
matplotlib.pyplot.spy
matplotlib.artist.Annulus.set
matplotlib.artist.Polygon.set
matplotlib.pyplot.axline
matplotlib.axes._axes.Axes.pcolormesh
matplotlib.pyplot.grid
matplotlib.patches.Arc.__init__
matplotlib.pyplot.barh
matplotlib.artist._CollectionWithSizes.set
matplotlib.sankey.Sankey.add
matplotlib.artist.RadialTick.set
matplotlib.artist.SecondaryAxis.set
matplotlib.artist.PolarAxes.set
matplotlib.artist.PathPatch.set
matplotlib.axes._axes.Axes.plot
matplotlib.artist.GeoAxes.set
matplotlib.figure.SubFigure.__init__
matplotlib.patches.Annulus.__init__
matplotlib.artist.EventCollection.set
matplotlib.artist.FigureBase.set
matplotlib.pyplot.fill_betweenx
matplotlib.artist.StarPolygonCollection.set
matplotlib.quiver.Quiver.__init__
matplotlib.pyplot.figure
matplotlib.artist.FancyBboxPatch.set
matplotlib.artist.EllipseCollection.set
matplotlib.artist.XTick.set
matplotlib.artist.ConnectionPatch.set
matplotlib.artist._ColorbarSpine.set
matplotlib.artist.PackerBase.set
matplotlib.artist.Arc.set
matplotlib.patches.Arc
matplotlib.axes._axes.Axes.text
matplotlib.axes._axes.Axes.axline
matplotlib.backends.backend_pdf.PdfPages.savefig
matplotlib.artist.RegularPolyCollection.set
matplotlib.artist.Barbs.set
matplotlib.artist.Text.set
matplotlib.axes._axes.Axes.axvspan
matplotlib.artist.Circle.set
matplotlib.artist.HammerAxes.set
matplotlib.pyplot.cohere
matplotlib.artist.ThetaTick.set
matplotlib.figure.FigureBase.gca
matplotlib.artist._ImageBase.set
matplotlib.artist.AuxTransformBox.set
matplotlib.pyplot.subplot
matplotlib.artist.NonUniformImage.set
matplotlib.animation.Animation.save
matplotlib.pyplot.magnitude_spectrum
matplotlib.axes._base._AxesBase.grid
matplotlib.axes._axes.Axes.psd
matplotlib.pyplot.phase_spectrum
matplotlib.text.Text.__init__
matplotlib.axes._axes.Axes.csd
matplotlib.pyplot.gca
matplotlib.axes._axes.Axes.plot_date
matplotlib.pyplot.axes
matplotlib.pyplot.quiver
matplotlib.figure.FigureBase.add_subplot
matplotlib.artist._AxLine.set
matplotlib.pyplot.broken_barh
matplotlib.axes._axes.Axes.barh
matplotlib.axes._axes.Axes.angle_spectrum
matplotlib.figure.Figure
matplotlib.artist.XAxis.set
matplotlib.artist.FancyArrow.set
matplotlib.artist.MollweideAxes.set
matplotlib.axes._axes.Axes.axvline
matplotlib.artist.ClabelText.set
matplotlib.pyplot.arrow
matplotlib.pyplot.axhline
matplotlib.artist.OffsetBox.set
matplotlib.axes._axes.Axes.errorbar
matplotlib.artist.Artist.set
matplotlib.artist.AitoffAxes.set
matplotlib.artist.Quiver.set
matplotlib.artist.YAxis.set

scipy

scipy.signal.windows._windows.dpss
scipy.signal._filter_design.iirfilter
scipy.signal._lti_conversion.cont2discrete

numpy

numpy.isscalar

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/figure.py#2123
type: <class 'type'>
Commit: