8000 Indicate that optimize and progressive kwords are JPEG specific. · matplotlib/matplotlib@e9e34e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e9e34e9

Browse files
committed
Indicate that optimize and progressive kwords are JPEG specific.
1 parent 6b166d4 commit e9e34e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,12 +2018,14 @@ def savefig(self, fname, *, frameon=None, transparent=None, **kwargs):
20182018
JPEG quantization stage.
20192019
20202020
optimize : bool
2021-
If *True*, indicates that the encoder should make an extra pass
2021+
If *True*, indicates that the JPEG encoder should make an extra pass
20222022
over the image in order to select optimal encoder settings.
2023+
Applicable only if *format* is jpg or jpeg, ignored otherwise.
20232024
20242025
progressive : bool
20252026
If *True*, indicates that this image should be stored as a
2026-
progressive JPEG file.
2027+
progressive JPEG file. Applicable only if *format* is jpg or
2028+
jpeg, ignored otherwise.
20272029
20282030
facecolor : color spec or None, optional
20292031
The facecolor of the figure; if *None*, defaults to

0 commit comments

Comments
 (0)
0