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

Skip to content

Commit b0618d8

Browse files
author
Nathan Goldbaum
committed
Mention the deprecation of the spectral colormap in the api_changes doc
1 parent 9af2990 commit b0618d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/api_changes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@ figure which is raising an error on draw. The previous behavior would only mark
192192
a figure as not stale after a full re-draw succeeded.
193193

194194

195+
The spectral colormap is now nipy_spectral
196+
------------------------------------------
197+
198+
The colormaps formerly known as ``spectral`` and ``spectral_r`` have been
199+
replaced by ``nipy_spectral`` and ``nipy_spectral_r`` since matplotlib
200+
1.3.0. Even though the colormap was deprecated in matplotlib 1.3.0, it never
201+
raised a warning. As of matplotlib 2.0.0, using the old names raises a
202+
deprecation warning. In the future, using the old names will raise an error.
203+
195204
Changes in 1.5.3
196205
================
197206

0 commit comments

Comments
 (0)