Set the edgecolor, facecolor and hatchcolor. .. versionchanged:: 3.11 Now sets the hatchcolor as well. Parameters ---------- c : :mpltype:`color` or list of RGBA tuples See Also -------- Collection.set_facecolor, Collect
(self, c)
| 828 | return mpl.rcParams['patch.antialiased'] |
| 829 | |
| 830 | def set_color(self, c): |
| 831 | """ |
| 832 | Set the edgecolor, facecolor and hatchcolor. |
| 833 | |
| 834 | .. versionchanged:: 3.11 |
| 835 | Now sets the hatchcolor as well. |
| 836 | |
| 837 | Parameters |
| 838 | ---------- |
| 839 | c : :mpltype:`color` or list of RGBA tuples |
| 840 | |
| 841 | See Also |
| 842 | -------- |
| 843 | Collection.set_facecolor, Collection.set_edgecolor, Collection.set_hatchcolor |
| 844 | For setting the facecolor, edgecolor, and hatchcolor individually. |
| 845 | """ |
| 846 | self.set_facecolor(c) |
| 847 | self.set_edgecolor(c) |
| 848 | self.set_hatchcolor(c) |
| 849 | |
| 850 | def _get_default_facecolor(self): |
| 851 | # This may be overridden in a subclass. |
nothing calls this directly
no test coverage detected