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.
2 parents 6d56f69 + 688e3ca commit d3651a8Copy full SHA for d3651a8
doc/api/next_api_changes/deprecations/24088-JMK.rst
@@ -0,0 +1,9 @@
1
+Colorbars for orphaned mappables are deprecated, but no longer raise
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+Before 3.6.0, Colorbars for mappables that do not have a parent axes would
5
+steal space from the current Axes. 3.6.0 raised an error on this, but without
6
+a deprecation cycle. For 3.6.1 this is reverted, the current axes is used,
7
+but a deprecation warning is shown instead. In this undetermined case users
8
+and libraries should explicitly specify what axes they want space to be stolen
9
+from: ``fig.colorbar(mappable, ax=plt.gca())``.
0 commit comments