9
9
10
10
Classes, methods and attributes
11
11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
12
18
- ``backend_bases.RendererBase.strip_math() ``
13
19
(use ``cbook.strip_math() `` instead)
14
20
@@ -39,38 +45,68 @@ Classes, methods and attributes
39
45
- ``backend_qt5.NavigationToolbar2QT.buttons `` property (no replacement)
40
46
- ``backend_qt5.NavigationToolbar2QT.adj_window `` property (no replacement)
41
47
48
+ - ``bezier.find_r_to_boundary_of_closedpath() `` (no replacement)
49
+
42
50
- ``cbook.dedent() `` (use `inspect.cleandoc ` instead)
43
51
- ``cbook.get_label() `` (no replacement)
44
52
- ``cbook.is_hashable() `` (use ``isinstance(..., collections.abc.Hashable) ``
45
53
instead)
46
54
- ``cbook.iterable() `` (use ``numpy.iterable() `` instead)
47
55
- ``cbook.safezip() `` (no replacement)
48
56
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
+
49
70
- ``docstring.Appender `` (no replacement)
50
71
- ``docstring.dedent() `` (use `inspect.getdoc ` instead)
51
72
- ``docstring.copy_dedent() ``
52
73
(use ``docstring.copy() `` and `inspect.getdoc ` instead)
53
74
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
+
54
81
- ``matplotlib.checkdep_dvipng `` (no replacement)
55
82
- ``matplotlib.checkdep_ghostscript `` (no replacement)
56
83
- ``matplotlib.checkdep_pdftops `` (no replacement)
57
84
- ``matplotlib.checkdep_inkscape `` (no replacement)
58
85
- ``matplotlib.get_py2exe_datafiles `` (no replacement)
59
86
- ``matplotlib.tk_window_focus `` (use ``rcParams['tk.window_focus'] `` instead)
60
87
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
+
61
97
- ``pyplot.plotfile() `` (Instead, load the data using
62
98
`pandas.read_csv ` or `numpy.loadtxt ` or similar and use regular pyplot
63
99
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
+
64
105
- ``rcsetup.validate_qt4() `` (no replacement)
65
106
- ``rcsetup.validate_qt5() `` (no replacement)
66
107
- ``rcsetup.validate_verbose() `` (no replacement)
67
108
- ``rcsetup.ValidateInterval `` (no replacement)
68
109
69
- - ``sphinxext.plot_directive.plot_directive() ``
70
- (use the class ``PlotDirective `` instead)
71
- - ``sphinxext.mathmpl.math_directive() ``
72
- (use the class ``MathDirective `` instead)
73
-
74
110
- ``scale.LogTransformBase `` (use ``scale.LogTransform `` instead)
75
111
- ``scale.InvertedLogTransformBase `` (use ``scale.InvertedLogTransform `` instead)
76
112
- ``scale.Log10Transform `` (use ``scale.LogTransform `` instead)
@@ -79,15 +115,27 @@ Classes, methods and attributes
79
115
- ``scale.InvertedLog2Transform `` (use ``scale.InvertedLogTransform `` instead)
80
116
- ``scale.NaturalLogTransform `` (use ``scale.LogTransform `` instead)
81
117
- ``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)
82
124
83
125
- ``spines.Spine.is_frame_like() `` (no replacement)
84
126
127
+ - ``testing.decorators.switch_backend() `` (use ``@pytest.mark.backend ``
128
+ decorator instead)
129
+
85
130
- ``text.Text.is_math_text() `` (use ``cbook.is_math_text() `` instead)
86
131
- ``text.TextWithDash() `` (use ``text.Annotation `` instead)
87
132
- ``textpath.TextPath.is_math_text() `` (use ``cbook.is_math_text() `` instead)
88
133
- ``textpath.TextPath.text_get_vertices_codes() ``
89
134
(use ``textpath.text_to_path.get_text_path() `` instead)
90
135
136
+ - ``textpath.TextToPath.glyph_to_path() `` (use ``font.get_path() `` and manual
137
+ translation of the vertices instead)
138
+
91
139
- ``ticker.OldScalarFormatter.pprint_val() `` (no replacement)
92
140
- ``ticker.ScalarFormatter.pprint_val() `` (no replacement)
93
141
- ``ticker.LogFormatter.pprint_val() `` (no replacement)
@@ -98,38 +146,7 @@ Classes, methods and attributes
98
146
``Tick.tick1line ``, ``Tick.tick2line ``, ``Tick.label1 ``, ``Tick.label2 ``
99
147
instead)
100
148
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)
133
150
134
151
- ``mplot3d.proj3d.line2d() `` (no replacement)
135
152
- ``mplot3d.proj3d.line2d_dist() `` (no replacement)
@@ -159,8 +176,6 @@ Classes, methods and attributes
159
176
- ``axisartist.axislines.Axes.AxisDict ``
160
177
(use ``axis_grid1.mpl_axes.Axes.AxisDict `` instead)
161
178
162
- - ``widgets.SpanSelector.buttonDown `` property (no replacement)
163
-
164
179
Arguments
165
180
~~~~~~~~~
166
181
- ``Axes.text() `` / ``pyplot.text() `` do not support the parameter ``withdash ``
@@ -176,7 +191,8 @@ Arguments
176
191
- The unused parameter ``interp_at_native `` of `.BboxImage ` has been removed.
177
192
- The parameter ``usetex `` of `.TextToPath.get_text_path ` has been removed.
178
193
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.
180
196
- The parameter ``frameon `` of `.Figure.savefig ` has been removed. Use
181
197
``facecolor="none" `` to get a transparent background.
182
198
- Passing a ``wx.EvtHandler `` as the first argument to ``backend_wx.TimerWx ``
@@ -195,6 +211,18 @@ Arguments
195
211
other than ``ticklabels ``.
196
212
- ``mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_zsort `` does not accept
197
213
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.
198
226
199
227
rcParams
200
228
~~~~~~~~
0 commit comments