File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ def __init_subclass__(cls, **kwargs):
709709 pending = True ,
710710 message = f'Overriding `Axes.cla` in { cls .__qualname__ } is '
711711 'pending deprecation in %(since)s and will be fully '
712- 'deprecated for `Axes.clear` in the future. Please report '
712+ 'deprecated in favor of `Axes.clear` in the future. Please report '
713713 f'this to the { cls .__module__ !r} author.' )
714714 cls ._subclass_uses_cla = 'cla' in cls .__dict__ or parent_uses_cla
715715 super ().__init_subclass__ (** kwargs )
@@ -1216,7 +1216,11 @@ def sharey(self, other):
12161216
12171217 def _clear (self ):
12181218 """Clear the Axes."""
1219- # Note: this is called by Axes.__init__()
1219+ # The actual implementation of clear() as long as clear() has to be
1220+ # an adapter delegating to the correct implementation.
1221+ # The implementation can move back into clear() when the
1222+ # deprecation on cla() subclassing expires.
1223+
12201224
12211225 # stash the current visibility state
12221226 if hasattr (self , 'patch' ):
You can’t perform that action at this time.
0 commit comments