File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ def __init_subclass__(cls):
130130 # Inject custom set() methods into the subclass with signature and
131131 # docstring based on the subclasses' properties.
132132
133+ cls .draw = _prevent_rasterization (cls .draw )
134+
133135 if not hasattr (cls .set , '_autogenerated_signature' ):
134136 # Don't overwrite cls.set if the subclass or one of its parents
135137 # has defined a set method set itself.
@@ -143,8 +145,6 @@ def __init_subclass__(cls):
143145 cls .set .__qualname__ = f"{ cls .__qualname__ } .set"
144146 cls ._update_set_signature_and_docstring ()
145147
146- cls .draw = _prevent_rasterization (cls .draw )
147-
148148 _PROPERTIES_EXCLUDED_FROM_SET = [
149149 'navigate_mode' , # not a user-facing function
150150 'figure' , # changing the figure is such a profound operation
You can’t perform that action at this time.
0 commit comments