matplotlib.container¶matplotlib.container.BarContainer(patches, errorbar=None, **kwargs)¶matplotlib.container.Container(kl, label=None)¶Bases: tuple
Base class for containers.
add_callback(func)¶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.
get_children()¶get_label()¶Get the label used for this artist in the legend.
pchanged()¶Fire an event when property changed, calling all of the registered callbacks.
remove()¶remove_callback(oid)¶Remove a callback based on its id.
See also
add_callback()set_label(s)¶Set the label to s for auto legend.
ACCEPTS: string or anything printable with ‘%s’ conversion.
set_remove_method(f)¶matplotlib.container.ErrorbarContainer(lines, has_xerr=False, has_yerr=False, **kwargs)¶Bases: matplotlib.container.Container
Container for errobars.
Attributes
| lines | (tuple) Tuple of (data_line, caplines, barlinecols). - data_line : Line2D instance of x, y plot markers and/or line. - caplines : tuple of Line2D instances of the error bar caps. - barlinecols : list of LineCollection with the horizontal and vertical error ranges. |
| has_xerr, has_yerr | (bool) True if the errorbar has x/y errors. |
matplotlib.container.StemContainer(markerline_stemlines_baseline, **kwargs)¶