| [ Web Proxy ] |
| Viewing: https://matplotlib.org/stable/api/_as_gen/../container_api.html#matplotlib.container.BarContainer | [Back] [Original] |
Section Navigation
matplotlibmatplotlib.animationmatplotlib.artistmatplotlib.axesmatplotlib.axismatplotlib.backend_basesmatplotlib.backend_managersmatplotlib.backend_toolsmatplotlib.backendsmatplotlib.backends.backend_mixedmatplotlib.backends.backend_templatematplotlib.backends.backend_aggmatplotlib.backends.backend_cairomatplotlib.backends.backend_gtk3agg, matplotlib.backends.backend_gtk3cairomatplotlib.backends.backend_gtk4agg, matplotlib.backends.backend_gtk4cairomatplotlib.backends.backend_nbaggmatplotlib.backends.backend_pdfmatplotlib.backends.backend_pgfmatplotlib.backends.backend_psmatplotlib.backends.registrymatplotlib.backends.backend_qtagg, matplotlib.backends.backend_qtcairomatplotlib.backends.backend_svgmatplotlib.backends.backend_tkagg, matplotlib.backends.backend_tkcairomatplotlib.backends.backend_webagg_corematplotlib.backends.backend_webaggmatplotlib.backends.backend_wxagg, matplotlib.backends.backend_wxcairomatplotlib.beziermatplotlib.categorymatplotlib.cbookmatplotlib.cmmatplotlib.collectionsmatplotlib.colorbarmatplotlib.colorizermatplotlib.colorsmatplotlib.containermatplotlib.contourmatplotlib.datesmatplotlib.dvireadmatplotlib.figurematplotlib.font_managermatplotlib.ft2fontmatplotlib.gridspec
matplotlib.hatchmatplotlib.imagematplotlib.insetmatplotlib.layout_enginematplotlib.legendmatplotlib.legend_handlermatplotlib.lines
matplotlib.markers
matplotlib.mathtextmatplotlib.mlabmatplotlib.offsetboxmatplotlib.patchesmatplotlib.pathmatplotlib.patheffectsmatplotlib.pyplotmatplotlib.projections
matplotlib.quiver
matplotlib.rcsetupmatplotlib.sankeymatplotlib.scalematplotlib.sphinxext.mathmplmatplotlib.sphinxext.plot_directivematplotlib.sphinxext.figmpl_directivematplotlib.sphinxext.rolesmatplotlib.spinesmatplotlib.stylematplotlib.tablematplotlib.testingmatplotlib.textmatplotlib.texmanagermatplotlib.tickermatplotlib.transformsmatplotlib.trimatplotlib.typingmatplotlib.unitsmatplotlib.widgetsmatplotlib._afmmatplotlib._apimatplotlib._docstringmatplotlib._enumsmatplotlib._type1fontmatplotlib._tight_bboxmatplotlib._tight_layoutmpl_toolkits.mplot3dmpl_toolkits.axes_grid1mpl_toolkits.axisartistpylabmatplotlib.containermatplotlib.container#Bases: Container
Container for the artists of bar plots (e.g. created by Axes.bar).
The container can be treated as a tuple of the patches themselves. Additionally, you can access these and further parameters by the attributes.
RectangleThe artists of the bars.
ErrorbarContainerA container for the error bar artists if error bars are present. None otherwise.
The underlying data values corresponding to the bars.
If 'vertical', the bars are assumed to be vertical. If 'horizontal', the bars are assumed to be horizontal.
Return the values at the lower end of the bars.
Added in version 3.11.
Return the centers of bar positions.
Added in version 3.11.
Return the values at the upper end of the bars.
Added in version 3.11.
Bases: tuple
Base class for containers.
Containers are classes that collect semantically related Artists such as the bars of a bar plot.
Add a callback function that will be called whenever one of the
Artist's properties changes.
The callback function. It must have the signature:
def func(artist: Artist) -> Any
where artist is the calling Artist. Return values may exist
but are ignored.
The observer id associated with the callback. This id can be
used for removing the callback with remove_callback later.
See also
Call all of the registered callbacks.
This function is triggered internally when a property is changed.
See also
Bases: Container
Container for the artists of error bars (e.g. created by Axes.errorbar).
The container can be treated as the lines tuple itself. Additionally, you can access these and further parameters by the attributes.
Tuple of (data_line, caplines, barlinecols).
data_line : A Line2D instance of x, y plot markers
and/or line.
caplines : A tuple of Line2D instances of the error
bar caps.
barlinecols : A tuple of LineCollection with the
horizontal and vertical error ranges.
True if the errorbar has x/y errors.
Bases: object
Container for the artists of pie charts (e.g. created by Axes.pie).
Added in version 3.11.
Warning
The class name PieContainer name is provisional and may change in future
to reflect development of its functionality.
You can access the wedge patches and further parameters by the attributes.
WedgeThe artists of the pie wedges.
numpy.ndarrayThe data that the pie is based on.
numpy.ndarrayThe fraction of the pie that each wedge represents.
TextThe artists of any labels on the pie wedges. Each inner list has one text label per wedge.
Bases: Container
Container for the artists created in a Axes.stem() plot.
The container can be treated like a namedtuple (markerline, stemlines,
baseline).
Line2DThe artist of the markers at the stem heads.
LineCollectionThe artists of the vertical lines for all stems.
Line2DThe artist of the horizontal baseline.
Tuple of (markerline, stemlines, baseline).
markerline contains the Line2D of the markers,
stemlines is a LineCollection of the main lines,
baseline is the Line2D of the baseline.
Copyright 20022012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 20122026 The Matplotlib development team.
Created using Sphinx 9.1.0.
Built from v3.11.2-1-g879ad8ebba.
Built with the PyData Sphinx Theme 0.16.1.
| Web Proxy Viewer | New URL | Original Page |