8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f779d commit 4f616b2Copy full SHA for 4f616b2
doc/api/next_api_changes/2019-01-27-JMK.rst
@@ -0,0 +1,10 @@
1
+`.ColorbarBase` is no longer a subclass of `.ScalarMappable`
2
+------------------------------------------------------------
3
+
4
+This inheritance lead to a confusing situation where the
5
+`ScalarMappable` passed to `.Colorbar` (`~.Figure.colorbar`) had a
6
+``set_norm`` method, as did the colorbar. The colorbar is now a slave
7
+to the `ScalarMappable` norm and colormap, and the old inherited methods
8
+`.ColorbarBase.set_norm`, `.ColorbarBase.set_cmap`, `.ColorbarBase.set_clim`
9
+are deprecated, as are the getter versions of those calls. To set the
10
+norm associated with a colorbar do ``colorbar.mappable.set_norm()`` etc.
0 commit comments