(self, renderer)
| 734 | |
| 735 | @artist.allow_rasterization |
| 736 | def draw(self, renderer): |
| 737 | # docstring inherited |
| 738 | if not self.get_visible(): |
| 739 | return |
| 740 | path = self.get_path() |
| 741 | transform = self.get_transform() |
| 742 | tpath = transform.transform_path_non_affine(path) |
| 743 | affine = transform.get_affine() |
| 744 | self._draw_paths_with_artist_properties( |
| 745 | renderer, |
| 746 | [(tpath, affine, |
| 747 | # Work around a bug in the PDF and SVG renderers, which |
| 748 | # do not draw the hatches if the facecolor is fully |
| 749 | # transparent, but do if it is None. |
| 750 | self._facecolor if self._facecolor[3] else None)]) |
| 751 | |
| 752 | def get_path(self): |
| 753 | """Return the path of this patch.""" |
nothing calls this directly
no test coverage detected