@@ -14,14 +14,22 @@ API Changes in 2.2.0
1414====================
1515
1616..
17-
1817 .. toctree::
1918 :glob:
2019 :maxdepth: 1
2120
2221 next_api_changes/*
2322
2423
24+ New dependency
25+ --------------
26+
27+ `kiwisolver <https://github.com/nucleic/kiwi >`__ is now a required
28+ dependency to support the new constrained_layout, see
29+ :ref: `sphx_glr_tutorials_intermediate_constrainedlayout_guide.py ` for
30+ more details.
31+
32+
2533Deprecations
2634------------
2735
@@ -80,6 +88,10 @@ transparency of figure patches in the nbagg (or any other) backend,
8088directly set ``figure.patch.facecolor ``, or the ``figure.facecolor ``
8189rcParam.
8290
91+ Deprecated `Axis.unit_data `
92+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
93+
94+ Use `Axis.units ` (which has long existed) instead.
8395
8496
8597Removals
@@ -136,6 +148,12 @@ The following deprecated rcParams have been removed:
136148
137149
138150
151+ Only accept string-like for Categorical input
152+ ---------------------------------------------
153+
154+ Do not accept mixed string / float / int input, only
155+ strings are valid categoricals.
156+
139157Removal of unused imports
140158-------------------------
141159Many unused imports were removed from the codebase. As a result,
@@ -144,6 +162,13 @@ trying to import certain classes or functions from the "wrong" module
144162:mod: `matplotlib.figure `) will now raise an `ImportError `.
145163
146164
165+ ``Axes3D.get_xlim ``, ``get_ylim `` and ``get_zlim `` now return a tuple
166+ ---------------------------------------------------------------------
167+
168+ They previously returned an array. Returning a tuple is consistent with the
169+ behavior for 2D axes.
170+
171+
147172Exception type changes
148173----------------------
149174
@@ -261,14 +286,6 @@ and ::
261286
262287
263288
264- New dependency
265- --------------
266-
267- `kiwisolver <https://github.com/nucleic/kiwi >`__ is now a required
268- dependency to support the new constrained_layout, see
269- :ref: `sphx_glr_tutorials_intermediate_constrainedlayout_guide.py ` for
270- more details.
271-
272289
273290`Axes.imshow ` clips RGB values to the valid range
274291-------------------------------------------------
0 commit comments