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 2309392

Browse filesBrowse files
committed
MNT: rely on base-class clear alias
1 parent f26ff69 commit 2309392
Copy full SHA for 2309392

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
@@ -2849,10 +2849,6 @@ def clf(self, keep_observers=False):
28492849
if toolbar is not None:
28502850
toolbar.update()
28512851

2852-
def clear(self, keep_observers=False):
2853-
"""Clear the figure -- synonym for `clf`."""
2854-
self.clf(keep_observers=keep_observers)
2855-
28562852
@_finalize_rasterization
28572853
@allow_rasterization
28582854
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.