Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 188a46d

Browse filesBrowse files
committed
MNT: rely on base-class clear alias
1 parent 3cc3fca commit 188a46d
Copy full SHA for 188a46d

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.