@@ -24,16 +24,25 @@ Changes in 1.3.x
24
24
value of this kwarg is ``head_width = 20 * width ``.
25
25
26
26
* Removed call of :meth: `~matplotlib.axes.Axes.grid ` in
27
- :meth: `~matplotlib.pyplot.plotfile `. To draw the axes grid, set to *True *
28
- matplotlib.rcParams['axes.grid'] or ``axes.grid `` in ``.matplotlibrc `` or
29
- explicitly call :meth: `~matplotlib.axes.Axes.grid `
27
+ :meth: `~matplotlib.pyplot.plotfile `. To draw the axes grid, set the
28
+ ``axes.grid `` rcParam to *True *, or explicitly call
29
+ :meth: `~matplotlib.axes.Axes.grid `.
30
+
31
+ * It is now posible to provide ``number of levels + 1 `` colors in the case of
32
+ `extend='both' ` for contourf (or just ``number of levels `` colors for an
33
+ extend value ``min `` or ``max ``) such that the resulting colormap's
34
+ ``set_under `` and ``set_over `` are defined appropriately. Any other number
35
+ of colors will continue to behave as before (if more colors are provided
36
+ than levels, the colors will be unused). A similar change has been applied
37
+ to contour, where ``extend='both' `` would expect ``number of levels + 2 ``
38
+ colors.
30
39
31
40
* A new keyword *extendrect * in :meth: `~matplotlib.pyplot.colorbar ` and
32
41
:class: `~matplotlib.colorbar.ColorbarBase ` allows one to control the shape
33
42
of colorbar extensions.
34
43
35
44
* The `~matplotlib.mpl ` module is now deprecated. Those who relied on this
36
- module should transition to simply using `import matplotlib as mpl `.
45
+ module should transition to simply using `` import matplotlib as mpl ` `.
37
46
38
47
* The extension of :class: `~matplotlib.widgets.MultiCursor ` to both vertical
39
48
(default) and/or horizontal cursor implied that ``self.line `` is replaced
@@ -44,8 +53,8 @@ Changes in 1.3.x
44
53
raises :class: `NotImplementedError ` instead of :class: `OSError ` if the
45
54
:command: `ps ` command cannot be run.
46
55
47
- * The :func: `~ matplotlib.cbook.check_output ` function has been moved to
48
- ` ~ matplotlib.compat.subprocess `.
56
+ * The :func: `matplotlib.cbook.check_output ` function has been moved to
57
+ :func: ` matplotlib.compat.subprocess `.
49
58
50
59
* :class: `~matplotlib.patches.Patch ` now fully supports using RGBA values for
51
60
its ``facecolor `` and ``edgecolor `` attributes, which enables faces and
0 commit comments