Set the edgecolor(s) of the collection. Parameters ---------- c : :mpltype:`color` or list of :mpltype:`color` or 'face' The collection edgecolor(s). If a sequence, the patches cycle through it. If 'face', match the facecolor.
(self, c)
| 912 | self.stale = True |
| 913 | |
| 914 | def set_edgecolor(self, c): |
| 915 | """ |
| 916 | Set the edgecolor(s) of the collection. |
| 917 | |
| 918 | Parameters |
| 919 | ---------- |
| 920 | c : :mpltype:`color` or list of :mpltype:`color` or 'face' |
| 921 | The collection edgecolor(s). If a sequence, the patches cycle |
| 922 | through it. If 'face', match the facecolor. |
| 923 | """ |
| 924 | # We pass through a default value for use in LineCollection. |
| 925 | # This allows us to maintain None as the default indicator in |
| 926 | # _original_edgecolor. |
| 927 | if isinstance(c, str) and c.lower() in ("none", "face"): |
| 928 | c = c.lower() |
| 929 | self._original_edgecolor = c |
| 930 | self._set_edgecolor(c) |
| 931 | |
| 932 | def _set_hatchcolor(self, c): |
| 933 | c = mpl._val_or_rc(c, 'hatch.color') |
no test coverage detected