Set whether to fill the patch. Parameters ---------- b : bool
(self, b)
| 554 | self.stale = True |
| 555 | |
| 556 | def set_fill(self, b): |
| 557 | """ |
| 558 | Set whether to fill the patch. |
| 559 | |
| 560 | Parameters |
| 561 | ---------- |
| 562 | b : bool |
| 563 | """ |
| 564 | self._fill = bool(b) |
| 565 | self._set_facecolor(self._original_facecolor) |
| 566 | self._set_edgecolor(self._original_edgecolor) |
| 567 | self._set_hatchcolor(self._original_hatchcolor) |
| 568 | self.stale = True |
| 569 | |
| 570 | def get_fill(self): |
| 571 | """Return whether the patch is filled.""" |
nothing calls this directly
no test coverage detected