8000 Merge pull request #18068 from timhoffm/doc-savefig · matplotlib/matplotlib@12ef486 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12ef486

Browse files
authored
Merge pull request #18068 from timhoffm/doc-savefig
Add note on writing binary formats to stdout using savefig()
2 parents 08179da + 5a4cd6f commit 12ef486

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
@@ -2749,7 +2749,7 @@ def savefig(self, fname, *, transparent=None, **kwargs):
27492749
27502750
Parameters
27512751
----------
2752-
fname : str or path-like or file-like
2752+
fname : str or path-like or binary file-like
< 46E4 /td>
27532753
A path, or a Python file-like object, or
27542754
possibly some backend-dependent object such as
27552755
`matplotlib.backends.backend_pdf.PdfPages`.

0 commit comments

Comments
 (0)
0