Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 632f5cf

Browse filesBrowse files
Further API changes + rebase
1 parent 4e671a6 commit 632f5cf
Copy full SHA for 632f5cf

File tree

Expand file treeCollapse file tree

9 files changed

+44
-41
lines changed
Filter options
Expand file treeCollapse file tree

9 files changed

+44
-41
lines changed

‎doc/api/next_api_changes/2019-06-07-AL.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-06-07-AL.rst
-9Lines changed: 0 additions & 9 deletions
This file was deleted.

‎doc/api/next_api_changes/2019-06-12-AL.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-06-12-AL.rst
-11Lines changed: 0 additions & 11 deletions
This file was deleted.

‎doc/api/next_api_changes/2019-06-13-AL.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-06-13-AL.rst
-4Lines changed: 0 additions & 4 deletions
This file was deleted.

‎doc/api/next_api_changes/2019-07-24-AL.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-07-24-AL.rst
-8Lines changed: 0 additions & 8 deletions
This file was deleted.

‎doc/api/next_api_changes/2019-07-31-AL.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-07-31-AL.rst
-4Lines changed: 0 additions & 4 deletions
This file was deleted.

‎doc/api/next_api_changes/2019-08-08-TH.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2019-08-08-TH.rst
-5Lines changed: 0 additions & 5 deletions
This file was deleted.

‎doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,3 +248,16 @@ Backends do not need to explicitly define the flag ``supports_blit`` anymore.
248248
This is only relevant for backend developers. Backends had to define the flag
249249
``supports_blit``. This is not needed anymore because the blitting capability
250250
is now automatically detected.
251+
252+
Exception changes
253+
~~~~~~~~~~~~~~~~~
254+
Various APIs that raised a `ValueError` for incorrectly typed inputs now raise
255+
`TypeError` instead: `backend_bases.GraphicsContextBase.set_clip_path`,
256+
`blocking_input.BlockingInput.__call__`, `cm.register_cmap`, `dviread.DviFont`,
257+
`rcsetup.validate_hatch`, `rcsetup.validate_animation_writer_path`, `spines.Spine`,
258+
many classes in the :mod:`matplotlib.transforms` module and :mod:`matplotlib.tri`
259+
package, and Axes methods that take a ``norm`` parameter.
260+
261+
If extra kwargs are passed to `.LogScale`, `TypeError` will now be
262+
raised instead of `ValueError`.
263+

‎doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Passing more than one positional argument or unsupported keyword arguments to
2727
`~matplotlib.axes.Axes.axis()` is deprecated (such arguments used to be
2828
silently ignored).
2929

30+
``minor`` argument will be become keyword-only
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
Using the parameter ``minor`` to ``get_*ticks()`` / ``set_*ticks()`` as a
33+
positional parameter is deprecated. It will become keyword-only in future
34+
versions.
35+
3036
``axes_grid1``
3137
~~~~~~~~~~~~~~
3238
The ``mpl_toolkits.axes_grid1.colorbar`` module and its colorbar implementation
@@ -210,6 +216,14 @@ the public API any longer. Thus, it's deprecated.
210216
Using a string of single-character colors as a color sequence (e.g. "rgb") is
211217
deprecated. Use an explicit list instead.
212218

219+
Scales
220+
~~~~~~
221+
Passing unsupported keyword arguments to `.ScaleBase` and its subclasses
222+
`.LinearScale`, and `.SymLogScale` is deprecated and will raise a `TypeError` in 3.3.
223+
224+
If extra kwargs are passed to `.LogScale`, `TypeError` will now be
225+
raised instead of `ValueError`.
226+
213227
Testing
214228
~~~~~~~
215229
The ``matplotlib.testing.disable_internet`` module is deprecated. Use (for
@@ -244,3 +258,10 @@ instead.
244258

245259
``matplotlib.figure.AxesStack`` is considered private API and will be removed
246260
from the public API in future versions.
261+
262+
``BboxBase.is_unit`` is deprecated (check the Bbox extents if needed).
263+
264+
``style.core.is_style_file`` and ``style.core.iter_style_files``
265+
are deprecated.
266+
267+

‎doc/api/prev_api_changes/api_changes_3.2.0/removals.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_3.2.0/removals.rst
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@ The following members of ``matplotlib.backends.backend_pdf.PdfFile`` were remove
7272
- ``nextHatch``
7373
- ``nextImage``
7474
- ``alphaStateObject``
75+
76+
The ``required_interactive_framework`` attribute of backend modules introduced
77+
in Matplotlib 3.0 has been moved to the ``FigureCanvas`` class, in order to
78+
let it be inherited by third-party canvas subclasses and to make it easier to
79+
know what interactive framework is required by a canvas class.
80+
81+
``backend_qt4.FigureCanvasQT5``, which is an alias for
82+
``backend_qt5.FigureCanvasQT`` (but only exists under that name in
83+
``backend_qt4``), has been removed.
84+

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.