The .Rectangle
instance representing the figure background patch.
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.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.axes._axes.Axes.broken_barhmatplotlib.artist.DrawingArea.setmatplotlibmatplotlib.artist.Patch.setmatplotlib.patches.RegularPolygon.__init__matplotlib.artist.Artist.set_figurematplotlib.axes._axes.Axes.coherematplotlib.pyplot.closematplotlib.artist.ThetaAxis.setmatplotlib.artist.AsteriskPolygonCollection.setmatplotlib.artist.QuadMesh.setmatplotlib.pyplot.errorbarmatplotlib.table.Tablematplotlib.pyplot.angle_spectrummatplotlib.backend_bases.FigureCanvasBase.drawmatplotlib.artist.CirclePolygon.setmatplotlib.axes._axes.Axes.quivermatplotlib.artist.TextArea.setmatplotlib.pyplot.pcolormatplotlib.artist.YTick.setmatplotlib.patches.Wedge.__init__matplotlib.axes._axes.Axes.magnitude_spectrummatplotlib.artist.BrokenBarHCollection.setmatplotlib.pyplot.fill_betweenmatplotlib.table.Cell.set_text_propsmatplotlib.axes._base._AxesBase.__init__matplotlib.figure.FigureBasematplotlib.patches.Polygon.__init__matplotlib.artist.StepPatch.setmatplotlib.artist.OffsetImage.setmatplotlib.pyplot.axvlinematplotlib.pyplot.axvspanmatplotlib.artist.RadialAxis.setmatplotlib.axes._axes.Axes.axhlinematplotlib.artist.BboxImage.setmatplotlib.patches.PathPatch.__init__matplotlib.artist.PathCollection.setmatplotlib.axes._axes.Axes.barbsmatplotlib.figurematplotlib.artist.Table.setmatplotlib.artist.PatchCollection.setmatplotlib.patches.FancyArrowPatch.__init__matplotlib.artist.Ellipse.setmatplotlib.patches.FancyArrow.__init__matplotlib.artist.AnchoredOffsetbox.setmatplotlib.axes._axes.Axes.phase_spectrummatplotlib.axes._axes.Axes.axhspanmatplotlib.artist.Shadow.setmatplotlib.pyplot.barbsmatplotlib.pyplot.textmatplotlib.patches.Patch.__init__matplotlib.artist.Rectangle.setmatplotlib.patches.Circle.__init__matplotlib.figure.Figure.__init__matplotlib.figure.FigureBase.add_axesmatplotlib.patches.Arrow.__init__matplotlib.artist.HPacker.setmatplotlib.artist.RegularPolygon.setmatplotlib.artist.FancyArrowPatch.setmatplotlib.axes._axes.Axes.fill_betweenmatplotlib.artist.PolyCollection.setmatplotlib.artist.AxesImage.setmatplotlib.artist.LineCollection.setmatplotlib.lines.Line2D.__init__matplotlib.pyplot.psdmatplotlib.pyplot.plotmatplotlib.pyplot.figtextmatplotlib.figure.FigureBase.textmatplotlib.artist.Axis.setmatplotlib.widgets.SubplotToolmatplotlib.artist.Line2D.setmatplotlib.patches.FancyBboxPatch.__init__matplotlib.axes._axes.Axes.arrowmatplotlib.artist.VPacker.setmatplotlib.artist._make_class_factory.<locals>.class_factory.<locals>.subcls.setmatplotlib.pyplot.barmatplotlib.axes._base._AxesBase.set_positionmatplotlib.artist.LambertAxes.setmatplotlib.artist.Axes.setmatplotlib.artist.Tick.setmatplotlib.pyplot.axhspanmatplotlib.artist.PcolorImage.setmatplotlib.pyplot.csdmatplotlib.backend_bases._get_renderermatplotlib.artist.CircleCollection.setmatplotlib.artist.Artist.get_figurematplotlib.artist.Legend.setmatplotlib.axes._axes.Axes.hexbinmatplotlib.artist.SubFigure.setmatplotlib.axes._axes.Axes.spymatplotlib.pyplot.tablematplotlib.offsetbox.OffsetBox.set_figurematplotlib.artist.Figure.setmatplotlib.axes._axes.Axes.fill_betweenxmatplotlib.axes._axes.Axes.pcolormatplotlib.patches.CirclePolygon.__init__matplotlib.quiver.Barbs.__init__matplotlib.artist.Wedge.setmatplotlib.pyplot.pcolormeshmatplotlib.artist.Collection.setmatplotlib.artist.FigureImage.setmatplotlib.pyplot.hexbinmatplotlib.artist.TriMesh.setmatplotlib.artist.PaddedBox.setmatplotlib.artist.Spine.setmatplotlib.axes._axes.Axes.barmatplotlib.patches.Ellipse.__init__matplotlib.patches.StepPatch.__init__matplotlib.artist.AnchoredText.setmatplotlib.patches.Rectangle.__init__matplotlib.axes._axes.Axes.indicate_insetmatplotlib.patches.Shadow.__init__matplotlib.spines.Spine.__init__matplotlib.pyplot.plot_datematplotlib.backend_basesmatplotlib.artist.Arrow.setmatplotlib.pyplot.spymatplotlib.artist.Annulus.setmatplotlib.artist.Polygon.setmatplotlib.pyplot.axlinematplotlib.axes._axes.Axes.pcolormeshmatplotlib.pyplot.gridmatplotlib.patches.Arc.__init__matplotlib.pyplot.barhmatplotlib.artist._CollectionWithSizes.setmatplotlib.sankey.Sankey.addmatplotlib.artist.RadialTick.setmatplotlib.artist.SecondaryAxis.setmatplotlib.artist.PolarAxes.setmatplotlib.artist.PathPatch.setmatplotlib.axes._axes.Axes.plotmatplotlib.artist.GeoAxes.setmatplotlib.figure.SubFigure.__init__matplotlib.patches.Annulus.__init__matplotlib.artist.EventCollection.setmatplotlib.artist.FigureBase.setmatplotlib.pyplot.fill_betweenxmatplotlib.artist.StarPolygonCollection.setmatplotlib.quiver.Quiver.__init__matplotlib.pyplot.figurematplotlib.artist.FancyBboxPatch.setmatplotlib.artist.EllipseCollection.setmatplotlib.artist.XTick.setmatplotlib.artist.ConnectionPatch.setmatplotlib.artist._ColorbarSpine.setmatplotlib.artist.PackerBase.setmatplotlib.artist.Arc.setmatplotlib.patches.Arcmatplotlib.axes._axes.Axes.textmatplotlib.axes._axes.Axes.axlinematplotlib.backends.backend_pdf.PdfPages.savefigmatplotlib.artist.RegularPolyCollection.setmatplotlib.artist.Barbs.setmatplotlib.artist.Text.setmatplotlib.axes._axes.Axes.axvspanmatplotlib.artist.Circle.setmatplotlib.artist.HammerAxes.setmatplotlib.pyplot.coherematplotlib.artist.ThetaTick.setmatplotlib.figure.FigureBase.gcamatplotlib.artist._ImageBase.setmatplotlib.artist.AuxTransformBox.setmatplotlib.pyplot.subplotmatplotlib.artist.NonUniformImage.setmatplotlib.animation.Animation.savematplotlib.pyplot.magnitude_spectrummatplotlib.axes._base._AxesBase.gridmatplotlib.axes._axes.Axes.psdmatplotlib.pyplot.phase_spectrummatplotlib.text.Text.__init__matplotlib.axes._axes.Axes.csdmatplotlib.pyplot.gcamatplotlib.axes._axes.Axes.plot_datematplotlib.pyplot.axesmatplotlib.pyplot.quivermatplotlib.figure.FigureBase.add_subplotmatplotlib.artist._AxLine.setmatplotlib.pyplot.broken_barhmatplotlib.axes._axes.Axes.barhmatplotlib.axes._axes.Axes.angle_spectrummatplotlib.figure.Figurematplotlib.artist.XAxis.setmatplotlib.artist.FancyArrow.setmatplotlib.artist.MollweideAxes.setmatplotlib.axes._axes.Axes.axvlinematplotlib.artist.ClabelText.setmatplotlib.pyplot.arrowmatplotlib.pyplot.axhlinematplotlib.artist.OffsetBox.setmatplotlib.axes._axes.Axes.errorbarmatplotlib.artist.Artist.setmatplotlib.artist.AitoffAxes.setmatplotlib.artist.Quiver.setmatplotlib.artist.YAxis.setscipy.signal.windows._windows.dpssscipy.signal._filter_design.iirfilterscipy.signal._lti_conversion.cont2discreteHover 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