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 7aea0fd

Browse filesBrowse files
committed
DOC: add a docstring on the clf property
This is not great, but it is better than nothing and seem simpler that using `__getattribute__` to do a more through proxying job.
1 parent 05c463c commit 7aea0fd
Copy full SHA for 7aea0fd

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-0
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ def clear(self, keep_observers=False):
954954
# to __subclass_init__ or other meta-programming tools.
955955
@property
956956
def clf(self):
957+
"""Alias for the `clear()` method."""
957958
return self.clear
958959

959960
# Note: in the docstring below, the newlines in the examples after the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.