99
1010Classes, methods and attributes
1111~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12+ - ``artist.Artist.aname `` property (no replacement)
13+
14+ - ``axis.Axis.iter_ticks `` (no replacement)
15+
16+ - Support for custom backends that do not provide a
17+ ``backend_bases.GraphicsContextBase.set_hatch_color `` method
1218- ``backend_bases.RendererBase.strip_math() ``
1319 (use ``cbook.strip_math() `` instead)
1420
@@ -39,38 +45,68 @@ Classes, methods and attributes
3945- ``backend_qt5.NavigationToolbar2QT.buttons `` property (no replacement)
4046- ``backend_qt5.NavigationToolbar2QT.adj_window `` property (no replacement)
4147
48+ - ``bezier.find_r_to_boundary_of_closedpath() `` (no replacement)
49+
4250- ``cbook.dedent() `` (use `inspect.cleandoc ` instead)
4351- ``cbook.get_label() `` (no replacement)
4452- ``cbook.is_hashable() `` (use ``isinstance(..., collections.abc.Hashable) ``
4553 instead)
4654- ``cbook.iterable() `` (use ``numpy.iterable() `` instead)
4755- ``cbook.safezip() `` (no replacement)
4856
57+ - ``colorbar.ColorbarBase.get_cmap `` (use ``ScalarMappable.get_cmap `` instead)
58+ - ``colorbar.ColorbarBase.set_cmap `` (use ``ScalarMappable.set_cmap `` instead)
59+ - ``colorbar.ColorbarBase.get_clim `` (use ``ScalarMappable.get_clim `` instead)
60+ - ``colorbar.ColorbarBase.set_clim `` (use ``ScalarMappable.set_clim `` instead)
61+ - ``colorbar.ColorbarBase.set_norm `` (use ``ScalarMappable.set_norm `` instead)
62+
63+ - ``dates.seconds() `` (no replacement)
64+ - ``dates.minutes() `` (no replacement)
65+ - ``dates.hours() `` (no replacement)
66+ - ``dates.weeks() `` (no replacement)
67+ - ``dates.strpdate2num `` and ``dates.bytespdate2num `` (use `time.strptime ` or
68+ `dateutil.parser.parse ` or `.dates.datestr2num ` instead)
69+
4970- ``docstring.Appender `` (no replacement)
5071- ``docstring.dedent() `` (use `inspect.getdoc ` instead)
5172- ``docstring.copy_dedent() ``
5273 (use ``docstring.copy() `` and `inspect.getdoc ` instead)
5374
75+ - ``font_manager.OSXInstalledFonts() `` (no replacement)
76+
77+ - ``image.BboxImage.interp_at_native `` property (no replacement)
78+
79+ - ``lines.Line2D.verticalOffset `` property (no replacement)
80+
5481- ``matplotlib.checkdep_dvipng `` (no replacement)
5582- ``matplotlib.checkdep_ghostscript `` (no replacement)
5683- ``matplotlib.checkdep_pdftops `` (no replacement)
5784- ``matplotlib.checkdep_inkscape `` (no replacement)
5885- ``matplotlib.get_py2exe_datafiles `` (no replacement)
5986- ``matplotlib.tk_window_focus `` (use ``rcParams['tk.window_focus'] `` instead)
6087
88+ - ``mlab.demean() `` (use ``mlab.detrend_mean() `` instead)
89+
90+ - ``path.get_paths_extents() ``
91+ (use ``path.get_path_collection_extents() `` instead)
92+ - ``path.Path.has_nonfinite() `` (use ``not np.isfinite(self.vertices).all() ``
93+ instead)
94+
95+ - ``projections.process_projection_requirements() `` (no replacement)
96+
6197- ``pyplot.plotfile() `` (Instead, load the data using
6298 `pandas.read_csv ` or `numpy.loadtxt ` or similar and use regular pyplot
6399 functions to plot the loaded data.)
100+
101+ - ``quiver.Quiver.color() `` (use ``Quiver.get_facecolor() `` instead)
102+ - ``quiver.Quiver.keyvec `` property (no replacement)
103+ - ``quiver.Quiver.keytext `` property (no replacement)
104+
64105- ``rcsetup.validate_qt4() `` (no replacement)
65106- ``rcsetup.validate_qt5() `` (no replacement)
66107- ``rcsetup.validate_verbose() `` (no replacement)
67108- ``rcsetup.ValidateInterval `` (no replacement)
68109
69- - ``sphinxext.plot_directive.plot_directive() ``
70- (use the class ``PlotDirective `` instead)
71- - ``sphinxext.mathmpl.math_directive() ``
72- (use the class ``MathDirective `` instead)
73-
74110- ``scale.LogTransformBase `` (use ``scale.LogTransform `` instead)
75111- ``scale.InvertedLogTransformBase `` (use ``scale.InvertedLogTransform `` instead)
76112- ``scale.Log10Transform `` (use ``scale.LogTransform `` instead)
@@ -79,15 +115,27 @@ Classes, methods and attributes
79115- ``scale.InvertedLog2Transform `` (use ``scale.InvertedLogTransform `` instead)
80116- ``scale.NaturalLogTransform `` (use ``scale.LogTransform `` instead)
81117- ``scale.InvertedNaturalLogTransform `` (use ``scale.InvertedLogTransform `` instead)
118+ - ``scale.get_scale_docs() `` (no replacement)
119+
120+ - ``sphinxext.plot_directive.plot_directive() ``
121+ (use the class ``PlotDirective `` instead)
122+ - ``sphinxext.mathmpl.math_directive() ``
123+ (use the class ``MathDirective `` instead)
82124
83125- ``spines.Spine.is_frame_like() `` (no replacement)
84126
127+ - ``testing.decorators.switch_backend() `` (use ``@pytest.mark.backend ``
128+ decorator instead)
129+
85130- ``text.Text.is_math_text() `` (use ``cbook.is_math_text() `` instead)
86131- ``text.TextWithDash() `` (use ``text.Annotation `` instead)
87132- ``textpath.TextPath.is_math_text() `` (use ``cbook.is_math_text() `` instead)
88133- ``textpath.TextPath.text_get_vertices_codes() ``
89134 (use ``textpath.text_to_path.get_text_path() `` instead)
90135
136+ - ``textpath.TextToPath.glyph_to_path() `` (use ``font.get_path() `` and manual
137+ translation of the vertices instead)
138+
91139- ``ticker.OldScalarFormatter.pprint_val() `` (no replacement)
92140- ``ticker.ScalarFormatter.pprint_val() `` (no replacement)
93141- ``ticker.LogFormatter.pprint_val() `` (no replacement)
@@ -98,38 +146,7 @@ Classes, methods and attributes
98146 ``Tick.tick1line ``, ``Tick.tick2line ``, ``Tick.label1 ``, ``Tick.label2 ``
99147 instead)
100148
101- - ``Artist.aname `` property (no replacement)
102- - ``Axis.iter_ticks `` (no replacement)
103-
104- - ``image.BboxImage.interp_at_native `` property (no replacement)
105- - ``lines.Line2D.verticalOffset `` property (no replacement)
106- - ``bezier.find_r_to_boundary_of_closedpath() `` (no replacement)
107-
108- - ``quiver.Quiver.color() `` (use ``Quiver.get_facecolor() `` instead)
109- - ``quiver.Quiver.keyvec `` property (no replacement)
110- - ``quiver.Quiver.keytext `` property (no replacement)
111-
112- - ``colorbar.ColorbarBase.get_cmap `` (use ``ScalarMappable.get_cmap `` instead)
113- - ``colorbar.ColorbarBase.set_cmap `` (use ``ScalarMappable.set_cmap `` instead)
114- - ``colorbar.ColorbarBase.get_clim `` (use ``ScalarMappable.get_clim `` instead)
115- - ``colorbar.ColorbarBase.set_clim `` (use ``ScalarMappable.set_clim `` instead)
116- - ``colorbar.ColorbarBase.set_norm `` (use ``ScalarMappable.set_norm `` instead)
117-
118- - ``dates.seconds() `` (no replacement)
119- - ``dates.minutes() `` (no replacement)
120- - ``dates.hours() `` (no replacement)
121- - ``dates.weeks() `` (no replacement)
122- - ``dates.strpdate2num `` and ``dates.bytespdate2num `` (use `time.strptime ` or
123- `dateutil.parser.parse ` or `.dates.datestr2num ` instead)
124-
125- - ``font_manager.OSXInstalledFonts() `` (no replacement)
126-
127- - ``mlab.demean() `` (use ``mlab.detrend_mean() `` instead)
128-
129- - ``projections.process_projection_requirements() `` (no replacement)
130-
131- - ``path.get_paths_extents() ``
132- (use ``path.get_path_collection_extents() `` instead)
149+ - ``widgets.SpanSelector.buttonDown `` property (no replacement)
133150
134151- ``mplot3d.proj3d.line2d() `` (no replacement)
135152- ``mplot3d.proj3d.line2d_dist() `` (no replacement)
@@ -159,8 +176,6 @@ Classes, methods and attributes
159176- ``axisartist.axislines.Axes.AxisDict ``
160177 (use ``axis_grid1.mpl_axes.Axes.AxisDict `` instead)
161178
162- - ``widgets.SpanSelector.buttonDown `` property (no replacement)
163-
164179Arguments
165180~~~~~~~~~
166181- ``Axes.text() `` / ``pyplot.text() `` do not support the parameter ``withdash ``
@@ -176,7 +191,8 @@ Arguments
176191- The unused parameter ``interp_at_native `` of `.BboxImage ` has been removed.
177192- The parameter ``usetex `` of `.TextToPath.get_text_path ` has been removed.
178193 Use ``ismath='TeX' `` instead.
179- - The parameter ``block `` of ``show() `` is now keyword-only.
194+ - The parameter ``block `` of ``show() `` is now keyword-only, and arbitrary
195+ arguments or keyword arguments are no longer accepted.
180196- The parameter ``frameon `` of `.Figure.savefig ` has been removed. Use
181197 ``facecolor="none" `` to get a transparent background.
182198- Passing a ``wx.EvtHandler `` as the first argument to ``backend_wx.TimerWx ``
@@ -195,6 +211,18 @@ Arguments
195211 other than ``ticklabels ``.
196212- ``mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_zsort `` does not accept
197213 the value ``True `` anymore. Pass the equivalent value 'average' instead.
214+ - `.AnchoredText ` no longer accepts ``horizontalalignment `` or
215+ ``verticalalignment `` keyword arguments.
216+ - `.ConnectionPatch ` no longer accepts the ``arrow_transmuter `` and
217+ ``connector `` keyword arguments, which did nothing since 3.0.
218+ - `.FancyArrowPatch ` no longer accepts the ``arrow_transmuter `` and
219+ ``connector `` keyword arguments, which did nothing since 3.0.
220+ - `.TextPath ` no longer accepts arbitrary positional or keyword arguments.
221+ - `.MaxNLocator.set_params() ` no longer accepts arbitrary keyword arguments.
222+ - `~.Axes.pie ` no longer accepts and squeezes non-1D inputs; pass 1D input to
223+ the ``x `` argument.
224+ - Passing (n, 1)-shaped error arrays to `.Axes.errorbar() ` is no longer
225+ supported; pass a 1D array instead.
198226
199227rcParams
200228~~~~~~~~
0 commit comments