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

Skip to content

Commit 6ee36e9

Browse files
committed
Update next API changes to new structure
1 parent 8448703 commit 6ee36e9

File tree

6 files changed

+29
-27
lines changed

6 files changed

+29
-27
lines changed

doc/api/next_api_changes/2018-09-18-AL.rst

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

doc/api/next_api_changes/2018-09-25-AL.rst

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

doc/api/next_api_changes/2019-08-01-AL.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
Behaviour changes
22
-----------------
3+
4+
``Formatter.fix_minus``
5+
~~~~~~~~~~~~~~~~~~~~~~~
6+
`.Formatter.fix_minus` now performs hyphen-to-unicode-minus replacement
7+
whenever :rc:`axes.unicode_minus` is True; i.e. its behavior matches the one
8+
of ``.ScalarFormatter.fix_minus`` (`.ScalarFormatter` now just inherits that
9+
implementation).
10+
11+
This replacement is now used by the ``format_data_short`` method of the various
12+
builtin formatter classes, which affects the cursor value in the GUI toolbars.
13+
14+
``FigureCanvasBase`` now always has a ``manager`` attribute, which may be None
15+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16+
Previously, it did not necessarily have such an attribute. A check for
17+
``hasattr(figure.canvas, "manager")`` should now be replaced by
18+
``figure.canvas.manager is not None`` (or ``getattr(figure.canvas, "manager", None) is not None``
19+
for back-compatibility).

doc/api/next_api_changes/deprecated_empty_add_axes.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
11
Deprecations
22
------------
3+
4+
``figure.add_axes()`` without arguments
5+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6+
Calling ``fig.add_axes()`` with no arguments currently does nothing. This call
7+
will raise an error in the future. Adding a free-floating axes needs a position
8+
rectangle. If you want a figure-filling single axes, use ``add_subplot()``
9+
instead.
10+
11+
``backend_wx.DEBUG_MSG``
12+
~~~~~~~~~~~~~~~~~~~~~~~~
13+
``backend_wx.DEBUG_MSG`` is deprecated. The wx backends now use regular
14+
logging.

0 commit comments

Comments
 (0)