Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe6ee82

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/figure.py

Lines 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)