Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 188a46d

Browse files
committed
MNT: rely on base-class clear alias
1 parent 3cc3fca commit 188a46d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/matplotlib/figure.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2850,10 +2850,6 @@ def clf(self, keep_observers=False):
28502850
if toolbar is not None:
28512851
toolbar.update()
28522852

2853-
def clear(self, keep_observers=False):
2854-
"""Clear the figure -- synonym for `clf`."""
2855-
self.clf(keep_observers=keep_observers)
2856-
28572853
@_finalize_rasterization
28582854
@allow_rasterization
28592855
def draw(self, renderer):

0 commit comments

Comments
 (0)