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

Skip to content

Commit d4f2540

Browse files
committed
DOC: minor review comments
1 parent 1214252 commit d4f2540

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

doc/api/api_changes.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ using Matplotlib, i.e. any use of `matplotlib.tri.Triangulation` that
113113
requests that a Delaunay triangulation is calculated, which includes
114114
`matplotlib.pyplot.tricontour`, `matplotlib.pyplot.tricontourf`,
115115
`matplotlib.pyplot.tripcolor`, `matplotlib.pyplot.triplot`,
116-
`mlab.griddata` and `mpl_toolkits.mplot3d.plot_trisurf`.
116+
`matplotlib.mlab.griddata` and
117+
`mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf`.
117118

118119

119120

@@ -234,8 +235,9 @@ still *left* and *bottom* respectively::
234235
bar(left, height, *, align='center', **kwargs)
235236
barh(bottom, width, *, align='center', **kwargs)
236237

237-
despite behaving as the center in both cases. The methods now take ``*args, **kwargs``
238-
is input and are documented to have the primary signatures of::
238+
despite behaving as the center in both cases. The methods now take
239+
``*args, **kwargs`` as input and are documented to have the primary
240+
signatures of::
239241

240242
bar(x, height, *, align='center', **kwargs)
241243
barh(y, width, *, align='center', **kwargs)
@@ -276,14 +278,17 @@ Deprecations
276278
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277279

278280
The ``GraphicsContextBase.get_linestyle`` and
279-
``GraphicsContextBase.set_linestyle`` methods, which effectively had
280-
no effect, have been deprecated.
281+
``GraphicsContextBase.set_linestyle`` methods, which had no effect,
282+
have been deprecated. All of the backends Matplotlib ships use
283+
``GraphicsContextBase.get_dashes`` and
284+
``GraphicsContextBase.set_dashes`` which are more general.
285+
Third-party backends should also migrate to the ``*_dashes`` methods.
281286

282287

283288
``NavigationToolbar2.dynamic_update``
284289
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285290

286-
Use :meth:`matplotlib.backend_bases.FigureCanvas.draw_idle` instead.
291+
Use :meth:`draw_idle` method on the ``Canvas`` instance instead.
287292

288293

289294
Testing
@@ -302,10 +307,10 @@ Passing a string as *num* argument when calling an instance of
302307
``mpl_toolkits.axes_grid`` module
303308
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304309

305-
All functionallity from `mpl_toolkits.axes_grid` can be found in
306-
either `mpl_toolkits.axes_grid1` or `mpl_toolkits.axisartist`. Axes
307-
classes from `mpl_toolkits.axes_grid` based on `Axis` from
308-
`mpl_toolkits.axisartist` can be found in `mpl_toolkits.axisartist`
310+
All functionally from `mpl_toolkits.axes_grid` can be found in either
311+
`mpl_toolkits.axes_grid1` or `mpl_toolkits.axisartist`. Axes classes
312+
from `mpl_toolkits.axes_grid` based on `Axis` from
313+
`mpl_toolkits.axisartist` can be found in `mpl_toolkits.axisartist`.
309314

310315

311316
``Axes`` collision in ``Figure.add_axes``

0 commit comments

Comments
 (0)