We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa58bde commit 7bf0c52Copy full SHA for 7bf0c52
lib/matplotlib/artist.py
@@ -949,8 +949,7 @@ def set_rasterized(self, rasterized):
949
"""
950
support_rasterization = getattr(self.draw,
951
"_supports_rasterization", False)
952
- if (rasterized and
953
- not getattr(self.draw, "_supports_rasterization", False)):
+ if (rasterized and not supports_rasterization):
954
_api.warn_external(f"Rasterization of '{self}' will be ignored")
955
956
self._rasterized = rasterized
0 commit comments