Skip to content

Commit 49c8219

Browse files
committed
DOC: Minor tweaks to what's new page.
1 parent d2d3626 commit 49c8219

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

doc/users/whats_new.rst

+16-13
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ parameter to ``jshtml``. One can also call the
8282
animation. This can be displayed using IPython's ``HTML`` display class::
8383

8484
from IPython.display import HTML
85-
HTML(animation.anim_to_jshtml(anim))
85+
HTML(animation.to_jshtml())
8686

8787
The `~matplotlib.animation.HTMLWriter` class can also be used to generate
8888
an HTML file by asking for the ``html`` writer.
@@ -147,7 +147,10 @@ rather than no arrow (the new behavior actually matches the documentation).
147147

148148
Orthographic projection for mplot3d
149149
-----------------------------------
150-
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now accepts ``proj_type`` kwarg and has a method :meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type`. The default option is ``'persp'`` as before, and supplying ``'ortho'`` enables orthographic view.
150+
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now accepts ``proj_type`` keyword
151+
argument and has a method :meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type`.
152+
The default option is ``'persp'`` as before, and supplying ``'ortho'`` enables
153+
orthographic view.
151154

152155

153156
``voxels`` function for mplot3d
@@ -171,9 +174,9 @@ applied.
171174
Hexbin default line color
172175
-------------------------
173176

174-
The default ``linecolor`` kwarg for :func:`~matplotlib.axes.Axes.hexbin` is now
175-
``'face'``, and supplying ``'none'`` now prevents lines from being drawn around
176-
the hexagons.
177+
The default ``linecolor`` keyword argument for :func:`~matplotlib.axes.Axes.hexbin`
178+
is now ``'face'``, and supplying ``'none'`` now prevents lines from being drawn
179+
around the hexagons.
177180

178181

179182
Figure.legend() can be called without arguments
@@ -231,8 +234,8 @@ in a ``ValueError``. The previous behavior resulted in the limits being
231234
erroneously reset to ``(-0.001, 0.001)``.
232235

233236

234-
Metadata savefig kwarg
235-
----------------------
237+
Metadata savefig keyword argument
238+
---------------------------------
236239

237240
:func:`~matplotlib.pyplot.savefig` now accepts ``metadata`` as a keyword
238241
argument. It can be used to store key/value pairs in the image metadata.
@@ -311,11 +314,11 @@ customizable percent symbol and either automatic or manual control over the
311314
decimal points.
312315

313316

314-
New quiverkey angle kwarg
315-
-------------------------
317+
New quiverkey angle keyword argument
318+
------------------------------------
316319

317320
Plotting a :func:`~matplotlib.axes.Axes.quiverkey` now admits the ``angle``
318-
kwarg, which sets the angle at which to draw the key arrow.
321+
keyword argument, which sets the angle at which to draw the key arrow.
319322

320323

321324
Reproducible PS, PDF and SVG output
@@ -438,7 +441,7 @@ Example
438441
~~~~~~~
439442
::
440443

441-
autofmt_xdate(self, bottom=0.2, rotation=30, ha='right', which='minor')
444+
fig.autofmt_xdate(bottom=0.2, rotation=30, ha='right', which='minor')
442445

443446

444447
New Figure Parameter for subplot2grid
@@ -505,8 +508,8 @@ New keyword argument 'sep' for EngFormatter
505508
A new "sep" keyword argument has been added to
506509
:class:`~matplotlib.ticker.EngFormatter` and provides a means to define
507510
the string that will be used between the value and its unit. The default
508-
string is " ", which preserves the former behavior. Besides, the separator is
509-
now present between the value and its unit even in the absence of SI prefix.
511+
string is " ", which preserves the former behavior. Additionally, the separator
512+
is now present between the value and its unit even in the absence of SI prefix.
510513
There was formerly a bug that was causing strings like "3.14V" to be returned
511514
instead of the expected "3.14 V" (with the default behavior).
512515

0 commit comments

Comments
 (0)