@@ -150,6 +150,7 @@ def _create_pdf_info_dict(backend, metadata):
150150 ----------
151151 backend : str
152152 The name of the backend to use in the Producer value.
153+
153154 metadata : Dict[str, Union[str, datetime, Name]]
154155 A dictionary of metadata supplied by the user with information
155156 following the PDF specification, also defined in
@@ -474,7 +475,6 @@ def __init__(self, id, len, file, extra=None, png=None):
474475 """
475476 Parameters
476477 ----------
477-
478478 id : int
479479 Object id of the stream.
480480 len : Reference or None
@@ -608,9 +608,9 @@ def __init__(self, filename, metadata=None):
608608 """
609609 Parameters
610610 ----------
611-
612611 filename : str or path-like or file-like
613612 Output target; if a string, a file will be opened for writing.
613+
614614 metadata : dict from strings to strings and dates
615615 Information dictionary object (see PDF reference section 10.2.1
616616 'Document Information Dictionary'), e.g.:
@@ -2568,9 +2568,11 @@ def __init__(self, filename, keep_empty=True, metadata=None):
25682568 Plots using `PdfPages.savefig` will be written to a file at this
25692569 location. The file is opened at once and any older file with the
25702570 same name is overwritten.
2571+
25712572 keep_empty : bool, optional
25722573 If set to False, then empty pdf files will be deleted automatically
25732574 when closed.
2575+
25742576 metadata : dict, optional
25752577 Information dictionary object (see PDF reference section 10.2.1
25762578 'Document Information Dictionary'), e.g.:
0 commit comments