@@ -14,14 +14,22 @@ API Changes in 2.2.0
14
14
====================
15
15
16
16
..
17
-
18
17
.. toctree::
19
18
:glob:
20
19
:maxdepth: 1
21
20
22
21
next_api_changes/*
23
22
24
23
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
+
25
33
Deprecations
26
34
------------
27
35
@@ -80,6 +88,10 @@ transparency of figure patches in the nbagg (or any other) backend,
80
88
directly set ``figure.patch.facecolor ``, or the ``figure.facecolor ``
81
89
rcParam.
82
90
91
+ Deprecated `Axis.unit_data `
92
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
93
+
94
+ Use `Axis.units ` (which has long existed) instead.
83
95
84
96
85
97
Removals
@@ -136,6 +148,12 @@ The following deprecated rcParams have been removed:
136
148
137
149
138
150
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
+
139
157
Removal of unused imports
140
158
-------------------------
141
159
Many 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
144
162
:mod: `matplotlib.figure `) will now raise an `ImportError `.
145
163
146
164
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
+
147
172
Exception type changes
148
173
----------------------
149
174
@@ -261,14 +286,6 @@ and ::
261
286
262
287
263
288
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
-
272
289
273
290
`Axes.imshow ` clips RGB values to the valid range
274
291
-------------------------------------------------
0 commit comments