Set both the edgecolor and the facecolor. Parameters ---------- c : :mpltype:`color` See Also -------- Patch.set_facecolor, Patch.set_edgecolor For setting the edge or face color individually.
(self, c)
| 411 | self._set_facecolor(color) |
| 412 | |
| 413 | def set_color(self, c): |
| 414 | """ |
| 415 | Set both the edgecolor and the facecolor. |
| 416 | |
| 417 | Parameters |
| 418 | ---------- |
| 419 | c : :mpltype:`color` |
| 420 | |
| 421 | See Also |
| 422 | -------- |
| 423 | Patch.set_facecolor, Patch.set_edgecolor |
| 424 | For setting the edge or face color individually. |
| 425 | """ |
| 426 | self.set_edgecolor(c) |
| 427 | self.set_hatchcolor(c) |
| 428 | self.set_facecolor(c) |
| 429 | |
| 430 | def _set_hatchcolor(self, color): |
| 431 | color = mpl._val_or_rc(color, 'hatch.color') |
no test coverage detected