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

Skip to content

Commit 877d777

Browse files
committed
Update API changes
1 parent 6823d10 commit 877d777

File tree

1 file changed

+28
-17
lines changed

1 file changed

+28
-17
lines changed

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

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,33 @@ API removals
33

44
The following deprecated APIs were removed:
55

6-
- ``Verbose``,
7-
- ``artist.Artist.hitlist``, ``artist.Artist.is_figure_set``,
8-
- ``axis.Axis.unit_data``,
9-
- ``backend_bases.FigureCanvasBase.onRemove``,
10-
``backend_bases.FigureManagerBase.show_popup``,
11-
- ``backend_wx.SubplotToolWx``, ``backend_wx.Toolbar``,
12-
- ``cbook.align_iterators``,
13-
- ``contour.ContourLabeler.get_real_label_width``,
14-
- ``legend.Legend.draggable``,
6+
Classes and methods
7+
-------------------
8+
- ``Verbose``
9+
- ``artist.Artist.hitlist``
10+
- ``artist.Artist.is_figure_set`` (use ``artist.figure is not None`` instead)
11+
- ``axis.Axis.unit_data`` (use ``axis.Axis.units`` instead)
12+
- ``backend_bases.FigureCanvasBase.onRemove``
13+
``backend_bases.FigureManagerBase.show_popup`` (this never did anything)
14+
- ``backend_wx.SubplotToolWx``, ``backend_wx.Toolbar``
15+
- ``cbook.align_iterators``
16+
- ``contour.ContourLabeler.get_real_label_width``
17+
- ``legend.Legend.draggable`` (use `legend.Legend.set_draggable()` instead)
1518
- ``texmanager.TexManager.postscriptd``, ``texmanager.TexManager.pscnt``,
16-
``texmanager.TexManager.make_ps``, ``texmanager.TexManager.get_ps_bbox``,
17-
- the ``normed`` kwarg to ``Axes.hist``,
18-
- the ``fig`` kwarg to ``GridSpec.get_subplot_params`` and
19-
``GridSpecFromSubplotSpec.get_subplot_params``,
19+
``texmanager.TexManager.make_ps``, ``texmanager.TexManager.get_ps_bbox``
20+
21+
Arguments
22+
---------
23+
- The ``normed`` kwarg to ``Axes.hist``
24+
- The ``fig`` kwarg to ``GridSpec.get_subplot_params`` and
25+
``GridSpecFromSubplotSpec.get_subplot_params``
26+
- Passing 'box-forced' to `axes.Axes.set_adjustable`
27+
- Support for the strings 'on'/'true'/'off'/'false' to mean ``True``/``False``
28+
the following functions are affected: `Axes.grid`, `Axes3D.grid`
29+
`Axis.set_tick_params`, `pyplot.box`)
30+
- Using `pyplot.axes` with an `axes.Axes` type argument
31+
(use `pyplot.sca` instead)
32+
33+
Other
34+
-----
2035
- svgfont support (in :rc:`svg.fonttype`),
21-
- passing 'box-forced' to `axes.Axes.set_adjustable`,
22-
- support for the strings 'on'/'true'/'off'/'false' to mean True/False (the
23-
following functions are affected: `Axes.grid`, `Axes3D.grid`,
24-
`Axis.set_tick_params`, `pyplot.box`),

0 commit comments

Comments
 (0)