Skip to content

Commit 2047f9f

Browse files
committed
DOC: final merge up of API changes
1 parent 210d230 commit 2047f9f

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

doc/api/api_changes.rst

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
2533
Deprecations
2634
------------
2735

@@ -80,6 +88,10 @@ transparency of figure patches in the nbagg (or any other) backend,
8088
directly set ``figure.patch.facecolor``, or the ``figure.facecolor``
8189
rcParam.
8290

91+
Deprecated `Axis.unit_data`
92+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
93+
94+
Use `Axis.units` (which has long existed) instead.
8395

8496

8597
Removals
@@ -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+
139157
Removal of unused imports
140158
-------------------------
141159
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
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+
147172
Exception 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
-------------------------------------------------

doc/api/next_api_changes/2018-02-10-HA.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/next_api_changes/2018-02-21-AL.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)