8000 Merge pull request #2526 from thenovices/fix-typo · matplotlib/matplotlib@8162371 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8162371

Browse files
committed
Merge pull request #2526 from thenovices/fix-typo
Minor doc fixes
2 parents f9c62d2 + 76bd505 commit 8162371

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/pyplot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,24 +334,24 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
334334
----------
335335
336336
num : integer or string, optional, default: none
337-
If not provided, a new figure will be created, and a the figure number
338-
will be increamted. The figure objects holds this number in a `number`
337+
If not provided, a new figure will be created, and the figure number
338+
will be incremented. The figure objects holds this number in a `number`
339339
attribute.
340340
If num is provided, and a figure with this id already exists, make
341341
it active, and returns a reference to it. If this figure does not
342342
exists, create it and returns it.
343343
If num is a string, the window title will be set to this figure's
344344
`num`.
345345
346-
figsize : tuple of integers, optional, default : None
346+
figsize : tuple of integers, optional, default: None
347347
width, height in inches. If not provided, defaults to rc
348348
figure.figsize.
349349
350-
dpi : integer, optional, default ; None
350+
dpi : integer, optional, default: None
351351
resolution of the figure. If not provided, defaults to rc figure.dpi.
352352
353353
facecolor :
354-
the background color; If not provided, defaults to rc figure.facecolor
354+
the background color. If not provided, defaults to rc figure.facecolor
355355
356356
edgecolor :
357357
the border color. If not provided, defaults to rc figure.edgecolor

0 commit comments

Comments
 (0)
0