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 a0160a9

Browse filesBrowse files
committed
Parameter description style
1 parent 3f45960 commit a0160a9
Copy full SHA for a0160a9

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_pdf.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,16 +353,16 @@ def __init__(self, id, len, file, extra=None, png=None):
353353
----------
354354
355355
id : int
356-
object id of the stream
356+
Object id of the stream.
357357
len : Reference or None
358-
an unused Reference object for the length of the stream;
359-
None means to use a memory buffer so the length can be inlined
358+
An unused Reference object for the length of the stream;
359+
None means to use a memory buffer so the length can be inlined.
360360
file : PdfFile
361-
the underlying object to write the stream to
361+
The underlying object to write the stream to.
362362
extra : dict from Name to anything, or None
363-
extra key-value pairs to include in the stream header
363+
Extra key-value pairs to include in the stream header.
364364
png : dict or None
365-
if the data is already png encoded, the decode parameters
365+
If the data is already png encoded, the decode parameters.
366366
"""
367367
self.id = id # object id
368368
self.len = len # id of length object
@@ -440,12 +440,12 @@ def __init__(self, filename, metadata=None):
440440
----------
441441
442442
filename : file-like object or string
443-
output target; if a string, a file will be opened for writing
443+
Output target; if a string, a file will be opened for writing.
444444
metadata : dict from strings to strings and dates
445445
Information dictionary object (see PDF reference section 10.2.1
446446
'Document Information Dictionary'), e.g.:
447447
`{'Creator': 'My software', 'Author': 'Me',
448-
'Title': 'Awesome fig'}`
448+
'Title': 'Awesome fig'}`.
449449
450450
The standard keys are `'Title'`, `'Author'`, `'Subject'`,
451451
`'Keywords'`, `'Creator'`, `'Producer'`, `'CreationDate'`,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.