Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4179d5e

Browse files
committed
DOC: move behavior changes to the top
1 parent 30e7c7e commit 4179d5e

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,6 @@ API Changes for 3.1.0
66
:depth: 1
77

88

9-
``pgi`` support dropped
10-
-----------------------
11-
Support for ``pgi`` in the GTK3 backends has been dropped. ``pgi`` is
12-
an alternative implementation to ``PyGObject``. ``PyGObject`` should
13-
be used instead.
14-
15-
rcParam changes
16-
---------------
17-
18-
Removed
19-
~~~~~~~
20-
The following deprecated rcParams have been removed:
21-
22-
- ``text.dvipnghack``,
23-
- ``nbagg.transparent`` (use :rc:`figure.facecolor` instead),
24-
- ``plugins.directory``,
25-
- ``axes.hold``,
26-
- ``backend.qt4`` and ``backend.qt5`` (set the :envvar:`QT_API` environment
27-
variable instead).
28-
29-
Deprecated
30-
~~~~~~~~~~
31-
The associated validator functions ``rcsetup.validate_qt4`` and
32-
``validate_qt5`` are deprecated.
33-
34-
The ``verbose.fileo`` and ``verbose.level`` rcParams have been deprecated.
35-
These have had no effect since the switch from Matplotlib's old custom Verbose
36-
logging to the stdlib's `logging` module. In addition the
37-
``rcsetup.validate_verbose`` function is deprecated.
38-
39-
The ``text.latex.unicode`` rcParam now defaults to ``True`` and is
40-
deprecated (i.e., in future versions
41-
of Matplotlib, unicode input will always be supported).
42-
Moreover, the underlying implementation now uses ``\usepackage[utf8]{inputenc}``
43-
instead of ``\usepackage{ucs}\usepackage[utf8x]{inputenc}``.
44-
459
Behavior changes
4610
----------------
4711

@@ -402,6 +366,43 @@ raised a TypeError (or set them to a non-callable), the exception would be
402366
silently ignored and the default formatter be used instead. This is no longer
403367
the case; the exception is now propagated out.
404368

369+
370+
``pgi`` support dropped
371+
-----------------------
372+
Support for ``pgi`` in the GTK3 backends has been dropped. ``pgi`` is
373+
an alternative implementation to ``PyGObject``. ``PyGObject`` should
374+
be used instead.
375+
376+
rcParam changes
377+
---------------
378+
379+
Removed
380+
~~~~~~~
381+
The following deprecated rcParams have been removed:
382+
383+
- ``text.dvipnghack``,
384+
- ``nbagg.transparent`` (use :rc:`figure.facecolor` instead),
385+
- ``plugins.directory``,
386+
- ``axes.hold``,
387+
- ``backend.qt4`` and ``backend.qt5`` (set the :envvar:`QT_API` environment
388+
variable instead).
389+
390+
Deprecated
391+
~~~~~~~~~~
392+
The associated validator functions ``rcsetup.validate_qt4`` and
393+
``validate_qt5`` are deprecated.
394+
395+
The ``verbose.fileo`` and ``verbose.level`` rcParams have been deprecated.
396+
These have had no effect since the switch from Matplotlib's old custom Verbose
397+
logging to the stdlib's `logging` module. In addition the
398+
``rcsetup.validate_verbose`` function is deprecated.
399+
400+
The ``text.latex.unicode`` rcParam now defaults to ``True`` and is
401+
deprecated (i.e., in future versions
402+
of Matplotlib, unicode input will always be supported).
403+
Moreover, the underlying implementation now uses ``\usepackage[utf8]{inputenc}``
404+
instead of ``\usepackage{ucs}\usepackage[utf8x]{inputenc}``.
405+
405406
Exception changes
406407
-----------------
407408
- `mpl_toolkits.axes_grid1.axes_size.GetExtentHelper` now raises `ValueError`

0 commit comments

Comments
 (0)