Parameters ---------- edgecolors : :mpltype:`color` or list of colors, default: :rc:`patch.edgecolor` Edge color for each patch making up the collection. The special value 'face' can be passed to make the edgecolor match the facecolor.
(self, *,
edgecolors=None,
facecolors=None,
hatchcolors=None,
linewidths=None,
linestyles='solid',
capstyle=None,
joinstyle=None,
antialiaseds=None,
offsets=None,
offset_transform=None,
norm=None, # optional for ScalarMappable
cmap=None, # ditto
colorizer=None,
pickradius=5.0,
hatch=None,
urls=None,
zorder=1,
**kwargs
)
| 77 | |
| 78 | @_docstring.interpd |
| 79 | def __init__(self, *, |
| 80 | edgecolors=None, |
| 81 | facecolors=None, |
| 82 | hatchcolors=None, |
| 83 | linewidths=None, |
| 84 | linestyles='solid', |
| 85 | capstyle=None, |
| 86 | joinstyle=None, |
| 87 | antialiaseds=None, |
| 88 | offsets=None, |
| 89 | offset_transform=None, |
| 90 | norm=None, # optional for ScalarMappable |
| 91 | cmap=None, # ditto |
| 92 | colorizer=None, |
| 93 | pickradius=5.0, |
| 94 | hatch=None, |
| 95 | urls=None, |
| 96 | zorder=1, |
| 97 | **kwargs |
| 98 | ): |
| 99 | """ |
| 100 | Parameters |
| 101 | ---------- |
| 102 | edgecolors : :mpltype:`color` or list of colors, default: :rc:`patch.edgecolor` |
| 103 | Edge color for each patch making up the collection. The special |
| 104 | value 'face' can be passed to make the edgecolor match the |
| 105 | facecolor. |
| 106 | facecolors : :mpltype:`color` or list of colors, default: :rc:`patch.facecolor` |
| 107 | Face color for each patch making up the collection. |
| 108 | hatchcolors : :mpltype:`color` or list of colors, default: :rc:`hatch.color` |
| 109 | Hatch color for each patch making up the collection. The color |
| 110 | can be set to the special value 'edge' to make the hatchcolor match the |
| 111 | edgecolor. |
| 112 | linewidths : float or list of floats, default: :rc:`patch.linewidth` |
| 113 | Line width for each patch making up the collection. |
| 114 | linestyles : str or tuple or list thereof, default: 'solid' |
| 115 | Valid strings are ['solid', 'dashed', 'dashdot', 'dotted', '-', |
| 116 | '--', '-.', ':']. Dash tuples should be of the form:: |
| 117 | |
| 118 | (offset, onoffseq), |
| 119 | |
| 120 | where *onoffseq* is an even length tuple of on and off ink lengths |
| 121 | in points. For examples, see |
| 122 | :doc:`/gallery/lines_bars_and_markers/linestyles`. |
| 123 | capstyle : `.CapStyle`-like, default: 'butt' |
| 124 | Style to use for capping lines for all paths in the collection. |
| 125 | Allowed values are %(CapStyle)s. |
| 126 | joinstyle : `.JoinStyle`-like, default: 'round' |
| 127 | Style to use for joining lines for all paths in the collection. |
| 128 | Allowed values are %(JoinStyle)s. |
| 129 | antialiaseds : bool or list of bool, default: :rc:`patch.antialiased` |
| 130 | Whether each patch in the collection should be drawn with |
| 131 | antialiasing. |
| 132 | offsets : (float, float) or list thereof, default: (0, 0) |
| 133 | A vector by which to translate each patch after rendering (default |
| 134 | is no translation). The translation is performed in screen (pixel) |
| 135 | coordinates (i.e. after the Artist's transform is applied). |
| 136 | offset_transform : `~.Transform`, default: `.IdentityTransform` |
nothing calls this directly
no test coverage detected