8000 Added a what's new entry for the new jpeg quality parameter. · cirosantilli/matplotlib@ac1ea15 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac1ea15

Browse files
author
Daniel Hyams
committed
Added a what's new entry for the new jpeg quality parameter.
1 parent 9bb698a commit ac1ea15

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

doc/users/whats_new.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ new in matplotlib-1.3
2727
to configure the default margins used. Previously they were
2828
hard-coded to default to 0, default value of both rcParam values is 0.
2929

30-
3130
New eventplot plot type
3231
-------------------------------------
3332
Todd Jennings added a :func:`~matplotlib.pyplot.eventplot` function to
@@ -52,7 +51,6 @@ Passing ``bbox_inches="tight"`` through to :func:`plt.save` now takes into accou
5251
*all* artists on a figure - this was previously not the case and led to several
5352
corner cases which did not function as expected.
5453

55-
5654
Remember save directory
5755
-----------------------
5856
Martin Spacek made the save figure dialog remember the last directory saved
@@ -142,6 +140,14 @@ If you are using a custom backend, note that the `draw_text` renderer
142140
method is now passed the location of the baseline, not the location of
143141
the bottom of the text bounding box.
144142

143+
``savefig.jpeg_quality`` added to rcParams
144+
------------------------------------------------------------------------------
145+
``rcParam`` value ``savefig.jpeg_quality was added so that the user can
146+
configure the default quality used when a figure is written as a JPEG. The
147+
default quality is 95; previously, the default quality was 75. This change
148+
minimizes the artifacting inherent in JPEG images, particularly with images
149+
that have sharp changes in color as plots often do.
150+
145151
.. _whats-new-1-2-2:
146152
147153
new in matplotlib 1.2.2

0 commit comments

Comments
 (0)
0