Skip to content

Commit 12d0754

Browse files
committed
Move image.cmap what's new to rcParams section.
1 parent ba2c694 commit 12d0754

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/users/prev_whats_new/whats_new_3.4.0.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,6 @@ The new `.Colormap.set_extremes` method is provided for API symmetry with
488488
`.Colormap.with_extremes`, but note that it suffers from the same issue as the
489489
earlier individual setters.
490490

491-
Additionally, it is now possible to set :rc:`image.cmap` to a `.Colormap`
492-
instance, such as a new colormap created with `~.Colormap.set_extremes`. (This
493-
can only be done from Python code, not from the :file:`matplotlibrc` file.)
494-
495491
Get under/over/bad colors of Colormap objects
496492
---------------------------------------------
497493

@@ -701,6 +697,13 @@ same (TeX) font:
701697
ax.set_xlabel('Date')
702698
ax.set_ylabel('Value')
703699

700+
Setting *image.cmap* to a ``Colormap``
701+
--------------------------------------
702+
703+
It is now possible to set :rc:`image.cmap` to a `.Colormap` instance, such as a
704+
colormap created with the new `~.Colormap.set_extremes` above. (This can only
705+
be done from Python code, not from the :file:`matplotlibrc` file.)
706+
704707
The color of ticks and tick labels can be set independently using rcParams
705708
--------------------------------------------------------------------------
706709

0 commit comments

Comments
 (0)