@@ -5,30 +5,43 @@ The following deprecated APIs were removed:
5
5
6
6
Classes and methods
7
7
-------------------
8
- - ``Verbose ``
9
- - ``artist.Artist.hitlist ``
8
+ - ``Verbose `` (replaced by python logging library)
9
+ - ``artist.Artist.hitlist `` (no replacement)
10
10
- ``artist.Artist.is_figure_set `` (use ``artist.figure is not None `` instead)
11
11
- ``axis.Axis.unit_data `` (use ``axis.Axis.units `` instead)
12
- - ``backend_bases.FigureCanvasBase.onRemove ``
12
+ - ``backend_bases.FigureCanvasBase.onRemove `` (no replacement)
13
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 ``
14
+ - ``backend_wx.SubplotToolWx `` (no replacement)
15
+ - ``backend_wx.Toolbar `` (use ``backend_wx.NavigationToolbar2Wx `` instead)
16
+ - ``cbook.align_iterators `` (no replacment)
17
+ - ``contour.ContourLabeler.get_real_label_width `` (no replacement)
17
18
- ``legend.Legend.draggable `` (use `legend.Legend.set_draggable() ` instead)
18
19
- ``texmanager.TexManager.postscriptd ``, ``texmanager.TexManager.pscnt ``,
19
20
``texmanager.TexManager.make_ps ``, ``texmanager.TexManager.get_ps_bbox ``
21
+ (no replacements)
20
22
21
23
Arguments
22
24
---------
23
25
- The ``fig `` kwarg to ``GridSpec.get_subplot_params `` and
24
- ``GridSpecFromSubplotSpec.get_subplot_params ``
25
- - Passing 'box-forced' to `axes.Axes.set_adjustable `
26
- - Support for the strings 'on'/'true'/'off'/'false' to mean ``True ``/``False ``
27
- the following functions are affected: `Axes.grid `, `Axes3D.grid `
28
- `Axis.set_tick_params `, `pyplot.box `)
26
+ ``GridSpecFromSubplotSpec.get_subplot_params `` (use the argument
27
+ ``figure `` instead)
28
+ - Passing 'box-forced' to `axes.Axes.set_adjustable ` (use 'box' instead)
29
+ - Support for the strings 'on'/'true'/'off'/'false' to mean
30
+ ``True ``/``False `` (directly use ``True ``/``False `` instead).
31
+ The following functions are affected: `Axes.grid `, `Axes3D.grid `
32
+ `Axis.set_tick_params `, `pyplot.box `.
29
33
- Using `pyplot.axes ` with an `axes.Axes ` type argument
30
34
(use `pyplot.sca ` instead)
31
35
32
36
Other
33
37
-----
34
38
- svgfont support (in :rc: `svg.fonttype `),
39
+ - Logging is now done with the standard python ``logging `` library.
40
+ ``matplotlib.verbose `` and the command line switches ``--verbose-LEVEL `` are
41
+ removed.
42
+
43
+ To control the logging output use::
44
+
45
+ import logging
46
+ logger = logging.getLogger('matplotlib')
47
+ logger.set_level(logging.INFO)
0 commit comments