mpl.legend.BarContainer

class mpl.legend.BarContainer(patches, errorbar=None, **kwargs)[source]
__init__(patches, errorbar=None, **kwargs)[source]

Methods

__init__(patches[, errorbar])
add_callback(func) Adds a callback function that will be called whenever one of the Artist‘s properties changes.
count(...)
get_children()
get_label() Get the label used for this artist in the legend.
index((value, [start, ...) Raises ValueError if the value is not present.
pchanged() Fire an event when property changed, calling all of the registered callbacks.
remove()
remove_callback(oid) Remove a callback based on its id.
set_label(s) Set the label to s for auto legend.
set_remove_method(f)