Set the facecolor(s) of the collection. *c* can be a color (all patches have same color), or a sequence of colors; if it is a sequence the patches will cycle through the sequence. If *c* is 'none', the patch will not be filled. Parameters ----------
(self, c)
| 859 | self.stale = True |
| 860 | |
| 861 | def set_facecolor(self, c): |
| 862 | """ |
| 863 | Set the facecolor(s) of the collection. *c* can be a color (all patches |
| 864 | have same color), or a sequence of colors; if it is a sequence the |
| 865 | patches will cycle through the sequence. |
| 866 | |
| 867 | If *c* is 'none', the patch will not be filled. |
| 868 | |
| 869 | Parameters |
| 870 | ---------- |
| 871 | c : :mpltype:`color` or list of :mpltype:`color` |
| 872 | """ |
| 873 | if isinstance(c, str) and c.lower() in ("none", "face"): |
| 874 | c = c.lower() |
| 875 | self._original_facecolor = c |
| 876 | self._set_facecolor(c) |
| 877 | |
| 878 | def get_facecolor(self): |
| 879 | return self._facecolors |
no test coverage detected