10000 Fix numpydoc format issues · matplotlib/matplotlib@af4c1d1 · GitHub
[go: up one dir, main page]

Skip to content

Commit af4c1d1

Browse files
committed
Fix numpydoc format issues
1 parent e174284 commit af4c1d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2447,14 +2447,14 @@ def __init__(self, filename, keep_empty=True, metadata=None):
24472447
Parameters
24482448
----------
24492449
2450-
filename: str
2450+
filename : str
24512451
Plots using :meth:`PdfPages.savefig` will be written to a file at
24522452
this location. The file is opened at once and any older file with
24532453
the same name is overwritten.
2454-
keep_empty: bool, optional
2454+
keep_empty : bool, optional
24552455
If set to False, then empty pdf files will be deleted automatically
24562456
when closed.
2457-
metadata: dictionary, optional
2457+
metadata : dictionary, optional
24582458
Information dictionary object (see PDF reference section 10.2.1
24592459
'Document Information Dictionary').
24602460
"""
@@ -2497,7 +2497,7 @@ def savefig(self, figure=None, **kwargs):
24972497
Parameters
24982498
----------
24992499
2500-
figure: :class:`~matplotlib.figure.Figure` or int, optional
2500+
figure : :class:`~matplotlib.figure.Figure` or int, optional
25012501
Specifies what figure is saved to file. If not specified, the
25022502
active figure is saved. If a :class:`~matplotlib.figure.Figure`
25032503
instance is provided, this figure is saved. If an int is specified,

0 commit comments

Comments
 (0)
0