matplotlib.container
¶matplotlib.container.
BarContainer
(patches, errorbar=None, **kwargs)[source]¶Bases: matplotlib.container.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.
Attributes: |
|
---|
matplotlib.container.
Container
(kl, label=None)[source]¶Bases: tuple
Base class for containers.
Containers are classes that collect semantically related Artists such as the bars of a bar plot.
add_callback
(func)[source]¶Adds a callback function that will be called whenever one of
the Artist
's properties changes.
Returns an id that is useful for removing the callback with
remove_callback()
later.
remove_callback
(oid)[source]¶Remove a callback based on its id.
See also
add_callback()
matplotlib.container.
ErrorbarContainer
(lines, has_xerr=False, has_yerr=False, **kwargs)[source]¶Bases: matplotlib.container.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.
Attributes: |
|
---|
matplotlib.container.
StemContainer
(markerline_stemlines_baseline, **kwargs)[source]¶Bases: matplotlib.container.Container
Container for the artists created in a Axes.stem()
plot.
The container can be treated like a namedtuple (markerline, stemlines,
baseline)
.
Attributes: |
---|