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 d5087b2

Browse filesBrowse files
committed
DOC: fix minor typo in figure example
1 parent 0e95b73 commit d5087b2
Copy full SHA for d5087b2

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ def add_axes(self, *args, **kwargs):
11651165
Some simple examples::
11661166
11671167
rect = l, b, w, h
1168-
fig.plt.figure(1)
1168+
fig = plt.figure(1)
11691169
fig.add_axes(rect,label=label1)
11701170
fig.add_axes(rect,label=label2)
11711171
fig.add_axes(rect, frameon=False, facecolor='g')

0 commit comments

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