@@ -5,30 +5,43 @@ The following deprecated APIs were removed:
55
66Classes and methods
77-------------------
8- - ``Verbose ``
9- - ``artist.Artist.hitlist ``
8+ - ``Verbose `` (replaced by python logging library)
9+ - ``artist.Artist.hitlist `` (no replacement)
1010- ``artist.Artist.is_figure_set `` (use ``artist.figure is not None `` instead)
1111- ``axis.Axis.unit_data `` (use ``axis.Axis.units `` instead)
12- - ``backend_bases.FigureCanvasBase.onRemove ``
12+ - ``backend_bases.FigureCanvasBase.onRemove `` (no replacement)
1313 ``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)
1718- ``legend.Legend.draggable `` (use `legend.Legend.set_draggable() ` instead)
1819- ``texmanager.TexManager.postscriptd ``, ``texmanager.TexManager.pscnt ``,
1920 ``texmanager.TexManager.make_ps ``, ``texmanager.TexManager.get_ps_bbox ``
21+ (no replacements)
2022
2123Arguments
2224---------
2325- 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 `.
2933- Using `pyplot.axes ` with an `axes.Axes ` type argument
3034 (use `pyplot.sca ` instead)
3135
3236Other
3337-----
3438- 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