RemovalsΒΆ
The matplotlib.testing.determinism module, which exposes no public API, has
been deleted.
The following API elements have been removed:
backend_gtk3.PIXELS_PER_INCHbackend_pgf.re_escapetext,backend_pgf.re_mathdefault.- the
matplotlib.backends.tkagg,matplotlib.backends.windowing,matplotlib.backends.wx_compat, andmatplotlib.compat.subprocessmodules RcParams.msg_depr,RcParams.msg_depr_ignore,RcParams.msg_depr_set,RcParams.msg_obsolete,RcParams.msg_backend_obsoleteafm.parse_afm(useafm.AFM instead)axes.Axes.mouseover_setbackend_cairo.ArrayWrapper,backend_cairo.RendererCairo.convert_pathbackend_gtk3.FileChooserDialog.sorted_filetypes(usesorted(self.filetypes.items())instead)backend_pgf.get_texcommandbackend_pdf.PdfFile.texFontMapbackend_ps.get_bboxbackend_qt.FigureCanvasQt.keyAutoRepeat(useevent.guiEvent.isAutoRepeatinstead),backend_qt.error_msg_qt,backend_qt.exception_handlerbackend_wx.FigureCanvasWx.macrosbackends.pylab_setupcbook.Bunch(usetypes.SimpleNamespaceinstead),cbook.Locked,cbook.unicode_safe,cbook.is_numlike(useisinstance(..., numbers.Number)instead),cbook.mkdirs(useos.makedirs(..., exist_ok=True)instead),cbook.GetRealpathAndStat(usecbook.get_realpath_and_statinstead),cbook.listFilescontainer.Container.set_remove_methodcontour.ContourLabeler.cl,contour.ContourLabeler.cl_xy,contour.ContourLabeler.cl_cvalues(uselabelTexts,labelXYs,labelCValuesinstead)dates.DateFormatter.strftime,dates.DateFormatter.strftime_pre_1900font_manager.TempCache,font_manager.FontManager.ttffiles,font_manager.FontManager.afmfilesmathtext.unichr_safe(usechrinstead)patches.YAArrow(usepatches.FancyArrowPatchinstead)sphinxext.plot_directive.remove_codingtable.Table.get_child_artiststesting.compare.compare_float,testing.decorators.CleanupTest,testing.decorators.ImageComparisonTest,testing.decorators.skip_if_command_unavailable, support for nose-based teststext.Annotation.arrow(usetext.Annotation.arrow_patchinstead)textpath.TextToPath.tex_font_mapticker.Base,ticker.closeto,ticker.nearest_longaxes_grid1.axes_divider.LocatableAxesBase,axes_grid1.axes_divider.locatable_axes_factory,axes_grid1.axes_divider.Axes(useaxes_grid1.mpl_axes.Axesinstead),axes_grid1.axes_divider.LocatableAxes(useaxes_grid1.mpl_axes.Axesinstead)axisartist.axes_divider.Axes,axisartist.axes_divider.LocatableAxes(useaxisartist.axislines.Axesinstead)- the
normedkwarg tohist(usedensityinstead) - the
vertsparameter toscatter(usemarkerinstead) - passing
(verts, 0)or(..., 3)when specifying a marker to specify a path or a circle, respectively (instead, usevertsor"o", respectively) rcParams["examples.directory"]
The following members of matplotlib.backends.backend_pdf.PdfFile were removed:
nextObjectnextFontnextAlphaStatenextHatchnextImagealphaStateObject
The required_interactive_framework attribute of backend modules introduced
in Matplotlib 3.0 has been moved to the FigureCanvas class, in order to
let it be inherited by third-party canvas subclasses and to make it easier to
know what interactive framework is required by a canvas class.
backend_qt4.FigureCanvasQT5, which is an alias for
backend_qt5.FigureCanvasQT (but only exists under that name in
backend_qt4), has been removed.