Загрузка
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.
Return the centers of bar positions.
Return the values at the upper end of the bars.
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.
Return the label used for this artist in the legend.
Call all of the registered callbacks.
This function is triggered internally when a property is changed.
Remove a callback based on its observer id.
Set a label that will be displayed in the legend.
s will be converted to a string by calling str.
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).
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.
Add a list of Text objects to the container.
Remove all wedges and texts from the axes
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 of the baseline.
The observer id associated with the callback. This id can be
used for removing the callback with remove_callback later.
TextThe artists of any labels on the pie wedges. Each inner list has one text label per wedge.
Line2D