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 fe6ee82

Browse filesBrowse files
authored
Merge pull request matplotlib#11819 from tacaswell/doc_minor_fix
DOC: fix minor typo in figure example
2 parents 0e95b73 + d5087b2 commit fe6ee82
Copy full SHA for fe6ee82

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.