mpl.legend.PathCollection.__init__¶
-
PathCollection.__init__(paths, sizes=None, **kwargs)[source]¶ paths is a sequence of
matplotlib.path.Pathinstances.Valid Collection keyword arguments:
- edgecolors: None
- facecolors: None
- linewidths: None
- antialiaseds: None
- offsets: None
- transOffset: transforms.IdentityTransform()
- norm: None (optional for
matplotlib.cm.ScalarMappable) - cmap: None (optional for
matplotlib.cm.ScalarMappable)
offsets and transOffset are used to translate the patch after rendering (default no offsets)
If any of edgecolors, facecolors, linewidths, antialiaseds are None, they default to their
matplotlib.rcParamspatch setting, in sequence form.