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

Skip to content

Commit 5ae1413

Browse files
committed
Fix small typos in recent what's new.
1 parent fab9991 commit 5ae1413

3 files changed

Lines changed: 27 additions & 28 deletions

File tree

doc/users/prev_whats_new/whats_new_3.0.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ The default backend no longer must be set as part of the build
1010
process. Instead, at run time, the builtin backends are tried in
1111
sequence until one of them imports.
1212

13-
Headless linux servers (identified by the DISPLAY env not being defined)
14-
will not select a GUI backend.
13+
Headless Linux servers (identified by the DISPLAY environment variable not
14+
being defined) will not select a GUI backend.
1515

1616
Cyclic colormaps
1717
----------------
@@ -53,8 +53,8 @@ be rotated and the color can be changed. By default the labels and arrows have
5353
the same color, but the class may also pass arguments for customizing arrow
5454
and text layout, these are passed to :class:`matplotlib.textpath.TextPath` and
5555
`matplotlib.patches.FancyArrowPatch`. Location, length and width for both
56-
arrow tail and head can be adjusted, the the direction arrows and labels can
57-
have a frame. Padding and separation parameters can be adjusted.
56+
arrow tail and head can be adjusted, the direction arrows and labels can have a
57+
frame. Padding and separation parameters can be adjusted.
5858

5959

6060
Add ``minorticks_on()/off()`` methods for colorbar
@@ -96,11 +96,11 @@ manually set using `.figure.Figure.canvas.set_window_title()`.
9696
Legend now has a *title_fontsize* keyword argument (and rcParam)
9797
----------------------------------------------------------------
9898

99-
The title for a `.Figure.legend` and `.Axes.legend` can now have its fontsize
99+
The title for a `.Figure.legend` and `.Axes.legend` can now have its font size
100100
set via the *title_fontsize* keyword argument. There is also a new
101101
:rc:`legend.title_fontsize`. Both default to ``None``, which means the legend
102-
title will have the same fontsize as the axes default fontsize (*not* the
103-
legend fontsize, set by the *fontsize* keyword argument or
102+
title will have the same font size as the axes default font size (*not* the
103+
legend font size, set by the *fontsize* keyword argument or
104104
:rc:`legend.fontsize`).
105105

106106

@@ -112,10 +112,10 @@ of the attribute `axes.prop_cycle` with cyclers using the `markevery`
112112
Line2D object property. An example of this feature is provided at
113113
:doc:`/gallery/lines_bars_and_markers/markevery_prop_cycle`.
114114

115-
Multipage PDF support for pgf backend
116-
-------------------------------------
115+
Multi-page PDF support for pgf backend
116+
--------------------------------------
117117

118-
The pgf backend now also supports multipage PDF files.
118+
The pgf backend now also supports multi-page PDF files.
119119

120120
.. code-block:: python
121121
@@ -227,4 +227,4 @@ Sphinx 1.8 provides by default. (``:mathmpl:`` uses Matplotlib to render math
227227
expressions to images embedded in html, whereas Sphinx uses MathJax.)
228228

229229
When using Sphinx<1.8, both names (``:math:`` and ``:mathmpl:``) remain
230-
available for backcompatibility.
230+
available for backwards-compatibility.

doc/users/prev_whats_new/whats_new_3.1.0.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,10 @@ The `.Axis.get_inverted` and `.Axis.set_inverted` methods query and set whether
243243
the axis uses "inverted" orientation (i.e. increasing to the left for the
244244
x-axis and to the bottom for the y-axis).
245245

246-
They perform tasks similar to `.Axes.xaxis_inverted`,
247-
`.Axes.yaxis_inverted`, `.Axes.invert_xaxis`, and
248-
`.Axes.invert_yaxis`, with the specific difference that
249-
`.Axes..set_inverted` makes it easier to set the invertedness of an
250-
axis regardless of whether it had previously been inverted before.
246+
They perform tasks similar to `.Axes.xaxis_inverted`, `.Axes.yaxis_inverted`,
247+
`.Axes.invert_xaxis`, and `.Axes.invert_yaxis`, with the specific difference
248+
that `.Axis.set_inverted` makes it easier to set the inversion of an axis
249+
regardless of whether it had previously been inverted before.
251250

252251
Adjust default minor tick spacing
253252
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -267,9 +266,9 @@ the ticklabels will be rendered. By default, *useMathText* evaluates to
267266
If either is `True` then the numbers will be encapsulated by ``$``
268267
signs. When using ``TeX`` this implies that the numbers will be shown
269268
in TeX's math font. When using mathtext, the ``$`` signs around
270-
numbers will ensure unicode rendering (as implied by mathtext). This
269+
numbers will ensure Unicode rendering (as implied by mathtext). This
271270
will make sure that the minus signs in the ticks are rendered as the
272-
unicode=minus (U+2212) when using mathtext (without relying on the
271+
Unicode minus (U+2212) when using mathtext (without relying on the
273272
`~.Formatter.fix_minus` method).
274273

275274

@@ -309,9 +308,9 @@ caching; thereby, this new argument provides a fix for issue
309308
Endless Looping GIFs with PillowWriter
310309
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
311310

312-
We acknowledge that most people want to watch a gif more than
313-
once. Saving an animation as a gif with PillowWriter now produces an
314-
endless looping gif.
311+
We acknowledge that most people want to watch a GIF more than
312+
once. Saving an animation as a GIF with PillowWriter now produces an
313+
endless looping GIF.
315314

316315

317316
Adjusted `.matplotlib.widgets.Slider` to have vertical orientation

doc/users/prev_whats_new/whats_new_3.3.0.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Note that they may *not* be used to share axes after any operation (e.g.,
125125
drawing) has occurred on them.
126126

127127

128-
Align labels to axes edges
128+
Align labels to Axes edges
129129
--------------------------
130130

131131
`~.axes.Axes.set_xlabel`, `~.axes.Axes.set_ylabel` and `.ColorbarBase.set_label`
@@ -216,15 +216,15 @@ raising the plot window when calling `~.pyplot.show` or `~.pyplot.pause`.
216216

217217

218218

219-
Imshow now coerces 3D arrays with depth 1 to 2D
220-
------------------------------------------------
219+
``imshow`` now coerces 3D arrays with depth 1 to 2D
220+
---------------------------------------------------
221221

222222
Starting from this version arrays of size MxNx1 will be coerced into MxN
223223
for displaying. This means commands like ``plt.imshow(np.random.rand(3, 3, 1))``
224224
will no longer return an error message that the image shape is invalid.
225225

226226

227-
``Axes3D`` no longer distorts the 3d plot to match the 2d aspect ratio
227+
``Axes3D`` no longer distorts the 3D plot to match the 2D aspect ratio
228228
----------------------------------------------------------------------
229229

230230
Plots made with :class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` were previously
@@ -255,7 +255,7 @@ Home/Forward/Backward buttons now work with 3D axes
255255

256256
The *backend* keyword argument to ``savefig`` can now be used to pick the
257257
rendering backend without having to globally set the backend; e.g. one can save
258-
pdfs using the pgf backend with ``savefig("file.pdf", backend="pgf")``.
258+
PDFs using the pgf backend with ``savefig("file.pdf", backend="pgf")``.
259259

260260

261261
Offset text is now set to the top when using ``axis.tick_top()``
@@ -415,8 +415,8 @@ Add :rc:`contour.linewidth` to rcParams
415415
---------------------------------------
416416

417417
The new config option :rc:`contour.linewidth` allows to control the default
418-
linewidth of contours as a float. When set to ``None``, the linewidths fall
419-
back to :rc:`lines.linewidth`. The config value is overidden as usual by the
418+
line width of contours as a float. When set to ``None``, the line widths fall
419+
back to :rc:`lines.linewidth`. The config value is overridden as usual by the
420420
*linewidths* argument passed to `~.axes.Axes.contour` when it is not set to
421421
``None``.
422422

0 commit comments

Comments
 (0)