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

Skip to content

Commit aef9bfe

Browse files
committed
DOC: merge deprecation tables
1 parent 6400ea1 commit aef9bfe

File tree

1 file changed

+13
-66
lines changed

1 file changed

+13
-66
lines changed

doc/api/api_changes.rst

Lines changed: 13 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,29 @@ The following classes, methods, functions, and attributes are deprecated:
8888
``RcParams.msg_depr_set``, ``RcParams.msg_obsolete``,
8989
``RcParams.msg_backend_obsolete``
9090
- ``afm.parse_afm``
91+
- ``backend_pdf.PdfFile.texFontMap``
9192
- ``backend_pgf.get_texcommand``
9293
- ``backend_ps.get_bbox``
94+
- ``backend_qt5.FigureCanvasQT.keyAutoRepeat`` (directly check
95+
``event.guiEvent.isAutoRepeat()`` in the event handler to decide whether to
96+
handle autorepeated key presses).
9397
- ``backend_qt5.error_msg_qt``, ``backend_qt5.exception_handler``
9498
- ``backend_wx.FigureCanvasWx.macros``
99+
- ``backends.pylab_setup``
95100
- ``cbook.GetRealpathAndStat``, ``cbook.Locked``
96101
- ``cbook.is_numlike`` (use ``isinstance(..., numbers.Number)`` instead),
97102
``cbook.listFiles``, ``cbook.unicode_safe``
98-
- ``container.Container.set_remove_method``
103+
- ``container.Container.set_remove_method``,
99104
- ``contour.ContourLabeler.cl``, ``.cl_xy``, and ``.cl_cvalues``
100105
- ``dates.DateFormatter.strftime_pre_1900``, ``dates.DateFormatter.strftime``
101106
- ``font_manager.TempCache``
107+
- ``image._ImageBase.iterpnames``, use the ``interpolation_names`` property
108+
instead. (this affects classes that inherit from ``_ImageBase`` including
109+
:class:`FigureImage`, :class:`BboxImage`, and :class:`AxesImage`)
102110
- ``mathtext.unichr_safe`` (use ``chr`` instead)
111+
- ``patches.Polygon.xy``
103112
- ``table.Table.get_child_artists`` (use ``get_children`` instead)
104-
- ``testing.compare.ImageComparisonTest``, ``testing.compare.compare_float``,
113+
- ``testing.compare.ImageComparisonTest``, ``testing.compare.compare_float``
105114
- ``testing.decorators.CleanupTest``
106115
``testing.decorators.skip_if_command_unavailable``
107116
- ``FigureCanvasQT.keyAutoRepeat`` (directly check
@@ -116,7 +125,7 @@ The following classes, methods, functions, and attributes are deprecated:
116125
- ``text.Annotation.arrow``
117126
- `.Legend.draggable()`, in favor of `.Legend.set_draggable()`
118127
(``Legend.draggable`` may be reintroduced as a property in future releases)
119-
128+
- ``textpath.TextToPath.tex_font_map``
120129

121130
The following rcParams are deprecated:
122131

@@ -130,6 +139,7 @@ The following keyword arguments are deprecated:
130139
- passing ``obj_type`` to ``cbook.deprecated``
131140

132141
The following call signatures are deprecated:
142+
133143
- passing a ``wx.EvtHandler`` as first argument to ``backend_wx.TimerWx``
134144

135145

@@ -520,69 +530,6 @@ no longer necessary. Related functions have also been deprecated. Specifically:
520530
`mpl_toolkits.axisartist.axislines.Axes` directly.
521531

522532

523-
Deprecations
524-
------------
525-
The following modules are deprecated:
526-
527-
- :mod:`matplotlib.compat.subprocess`. This was a python 2 workaround, but all
528-
the functionality can now be found in the python 3 standard library
529-
:mod:`subprocess`.
530-
- :mod:`matplotlib.backends.wx_compat`. Python 3 is only compatible with
531-
wxPython 4, so support for wxPython 3 or earlier can be dropped.
532-
533-
The following classes, methods, functions, and attributes are deprecated:
534-
535-
- ``RcParams.msg_depr``, ``RcParams.msg_depr_ignore``,
536-
``RcParams.msg_depr_set``, ``RcParams.msg_obsolete``,
537-
``RcParams.msg_backend_obsolete``,
538-
- ``afm.parse_afm``,
539-
- ``backend_pdf.PdfFile.texFontMap``,
540-
- ``backend_pgf.get_texcommand``,
541-
- ``backend_ps.get_bbox``,
542-
- ``backend_qt5.FigureCanvasQT.keyAutoRepeat`` (directly check
543-
``event.guiEvent.isAutoRepeat()`` in the event handler to decide whether to
544-
handle autorepeated key presses).
545-
- ``backend_qt5.error_msg_qt``, ``backend_qt5.exception_handler``,
546-
- ``backend_wx.FigureCanvasWx.macros``,
547-
- ``backends.pylab_setup``,
548-
- ``cbook.GetRealpathAndStat``, ``cbook.Locked``,
549-
- ``cbook.is_numlike`` (use ``isinstance(..., numbers.Number)`` instead),
550-
``cbook.listFiles``, ``cbook.unicode_safe``,
551-
- ``container.Container.set_remove_method``,
552-
- ``contour.ContourLabeler.cl``, ``.cl_xy``, and ``.cl_cvalues``,
553-
- ``dates.DateFormatter.strftime_pre_1900``, ``dates.DateFormatter.strftime``,
554-
- ``font_manager.TempCache``,
555-
- ``image._ImageBase.iterpnames``, use the ``interpolation_names`` property
556-
instead. (this affects classes that inherit from ``_ImageBase`` including
557-
:class:`FigureImage`, :class:`BboxImage`, and :class:`AxesImage`),
558-
- ``mathtext.unichr_safe`` (use ``chr`` instead),
559-
- ``patches.Polygon.xy``,
560-
- ``table.Table.get_child_artists`` (use ``get_children`` instead),
561-
- ``testing.compare.ImageComparisonTest``, ``testing.compare.compare_float``,
562-
- ``testing.decorators.CleanupTest``,
563-
``testing.decorators.skip_if_command_unavailable``,
564-
- ``FigureCanvasQT.keyAutoRepeat`` (directly check
565-
``event.guiEvent.isAutoRepeat()`` in the event handler to decide whether to
566-
handle autorepeated key presses).
567-
- ``texmanager.dvipng_hack_alpha``,
568-
- ``text.Annotation.arrow``,
569-
- ``textpath.TextToPath.tex_font_map``,
570-
571-
The following rcParams are deprecated:
572-
573-
- ``examples.directory`` (use ``datapath`` instead),
574-
- ``pgf.debug`` (the pgf backend relies on logging),
575-
- ``text.latex.unicode``,
576-
577-
The following keyword arguments are deprecated:
578-
579-
- passing ``verts`` to ``Axes.scatter`` (use ``marker`` instead),
580-
- passing ``obj_type`` to ``cbook.deprecated``,
581-
582-
The following call signatures are deprecated:
583-
584-
- passing a ``wx.EvtHandler`` as first argument to ``backend_wx.TimerWx``,
585-
586533

587534
`.matplotlib.Axes.get_tightbbox` now includes all artists
588535
---------------------------------------------------------

0 commit comments

Comments
 (0)