On this page
container
matplotlib.container
class matplotlib.container.BarContainer(patches, errorbar=None, **kwargs)
class matplotlib.container.Container(kl, label=None)-
Bases:
tupleBase 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()- For adding callbacks
set_label(s)-
Set the label to s for auto legend.
ACCEPTS: string or anything printable with ‘%s’ conversion.
set_remove_method(f)
class matplotlib.container.ErrorbarContainer(lines, has_xerr=False, has_yerr=False, **kwargs)
class matplotlib.container.StemContainer(markerline_stemlines_baseline, **kwargs)
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/container_api.html