|
| 1 | +API removals |
| 2 | +```````````` |
| 3 | + |
| 4 | +The following deprecated APIs were removed: |
| 5 | + |
| 6 | +- the ``matplotlib.backends.tkagg``, ``matplotlib.backends.windowing``, |
| 7 | + ``matplotlib.backends.wx_compat``, and ``matplotlib.compat.subprocess`` |
| 8 | + modules, |
| 9 | +- ``RcParams.msg_depr``, ``RcParams.msg_depr_ignore``, |
| 10 | + ``RcParams.msg_depr_set``, ``RcParams.msg_obsolete``, |
| 11 | + ``RcParams.msg_backend_obsolete``, |
| 12 | +- ``afm.parse_afm`` (use ``afm.AFM instead``), |
| 13 | +- ``axes.Axes.mouseover_set``, |
| 14 | +- ``backend_cairo.ArrayWrapper``, ``backend_cairo.RendererCairo.convert_path``, |
| 15 | +- ``backend_gtk3.FileChooserDialog.sorted_filetypes`` (use |
| 16 | + ``sorted(self.filetypes.items())`` instead), |
| 17 | +- ``backend_pgf.get_texcommand``, |
| 18 | +- ``backend_pdf.PdfFile.texFontMap``, |
| 19 | +- ``backend_ps.get_bbox``, |
| 20 | +- ``backend_qt.FigureCanvasQt.keyAutoRepeat`` (use |
| 21 | + ``event.guiEvent.isAutoRepeat`` instead), ``backend_qt.error_msg_qt``, |
| 22 | + ``backend_qt.exception_handler``, |
| 23 | +- ``backend_wx.FigureCanvasWx.macros``, |
| 24 | +- ``backends.pylab_setup``, |
| 25 | +- ``cbook.Bunch`` (use ``types.SimpleNamespace`` instead), ``cbook.Locked``, |
| 26 | + ``cbook.unicode_safe``, ``cbook.is_numlike`` (use |
| 27 | + ``isinstance(..., numbers.Number)`` instead), ``cbook.mkdirs`` (use |
| 28 | + ``os.makedirs(..., exist_ok=True)`` instead), ``cbook.GetRealpathAndStat`` |
| 29 | + (use ``cbook.get_realpath_and_stat`` instead), |
| 30 | + ``cbook.listFiles``, |
| 31 | +- ``container.Container.set_remove_method``, |
| 32 | +- ``contour.ContourLabeler.cl``, ``contour.ContourLabeler.cl_xy``, |
| 33 | + ``contour.ContourLabeler.cl_cvalues`` (use ``labelTexts``, ``labelXYs``, |
| 34 | + ``labelCValues`` instead), |
| 35 | +- ``dates.DateFormatter.strftime``, ``dates.DateFormatter.strftime_pre_1900``, |
| 36 | +- ``font_manager.TempCache``, ``font_manager.FontManager.ttffiles``, |
| 37 | + ``font_manager.FontManager.afmfiles``, |
| 38 | +- ``mathtext.unichr_safe`` (use ``chr`` instead), |
| 39 | +- ``patches.YAArrow`` (use ``patches.FancyArrowPatch`` instead), |
| 40 | +- ``sphinxext.plot_directive.remove_coding``, |
| 41 | +- ``table.Table.get_child_artists``, |
| 42 | +- ``testing.compare.compare_float``, ``testing.decorators.CleanupTest``, |
| 43 | + ``testing.decorators.ImageComparisonTest``, |
| 44 | + ``testing.decorators.skip_if_command_unavailable``, |
| 45 | + support for nose-based tests, |
| 46 | +- ``text.Annotation.arrow`` (use ``text.Annotation.arrow_patch`` instead), |
| 47 | +- ``textpath.TextToPath.tex_font_map``, |
| 48 | +- ``ticker.Base``, ``ticker.closeto``, ``ticker.nearest_long``, |
| 49 | +- ``axes_grid1.axes_divider.LocatableAxesBase``, |
| 50 | + ``axes_grid1.axes_divider.locatable_axes_factory``, |
| 51 | + ``axes_grid1.axes_divider.Axes`` (use ``axes_grid1.mpl_axes.Axes`` instead), |
| 52 | + ``axes_grid1.axes_divider.LocatableAxes`` (use ``axes_grid1.mpl_axes.Axes`` |
| 53 | + instead), |
| 54 | +- ``axisartist.axes_divider.Axes``, ``axisartist.axes_divider.LocatableAxes`` |
| 55 | + (use ``axisartist.axislines.Axes`` instead), |
| 56 | +- the ``normed`` kwarg to ``hist`` (use ``density`` instead), |
| 57 | +- the ``verts`` parameter to ``scatter`` (use ``marker`` instead), |
| 58 | +- passing ``(verts, 0)`` or ``(..., 3)`` when specifying a marker to specify a |
| 59 | + path or a circle, respectively (instead, use ``verts`` or ``"o"``, |
| 60 | + respectively), |
| 61 | +- :rc:`examples.directory`, |
0 commit comments