Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c347f3

Browse files
committed
update CHANGELOG, api_changes.rst for new handling of extend kwarg
1 parent 72e1c6c commit 0c347f3

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2012-07-24 Contourf handles the extend kwarg by mapping the extended
2+
ranges outside the normed 0-1 range so that they are
3+
handled by colormap colors determined by the set_under
4+
and set_over methods. Previously the extended ranges
5+
were mapped to 0 or 1 so that the "under" and "over"
6+
colormap colors were ignored. - EF
7+
18
2012-06-24 Make use of mathtext in tick labels configurable - DSD
29

310
2012-06-05 Images loaded through PIL are now ordered correctly - CG

doc/api/api_changes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ For new features that were added to matplotlib, please see
1414
Changes in 1.2.x
1515
================
1616

17+
* In :meth:`~matplotlib.axes.Axes.contourf`, the handling of the *extend*
18+
kwarg has changed. Formerly, the extended ranges were mapped
19+
after to 0, 1 after being normed, so that they always corresponded
20+
to the extreme values of the colormap. Now they are mapped
21+
outside this range so that they correspond to the special
22+
colormap values determined by the
23+
:meth:`~matplotlib.colors.Colormap.set_under` and
24+
:meth:`~matplotlib.colors.Colormap.set_over` methods, which
25+
default to the colormap end points.
26+
1727
* The new rc parameter ``savefig.format`` replaces ``cairo.format`` and
1828
``savefig.extension``, and sets the default file format used by
1929
:meth:`matplotlib.figure.Figure.savefig`.

0 commit comments

Comments
 (0)