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

Skip to content

Commit 48be741

Browse files
committed
Title copy-edit
1 parent e340b45 commit 48be741

File tree

1 file changed

+34
-28
lines changed

1 file changed

+34
-28
lines changed

doc/users/prev_whats_new/whats_new_3.2.0.rst

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
1-
Unit converters now handle instances of subclasses
2-
``````````````````````````````````````````````````
1+
2+
What's new in Matplotlib 3.2
3+
============================
4+
5+
For a list of all of the issues and pull requests since the last
6+
revision, see the :ref:`github-stats`.
7+
8+
.. contents:: Table of Contents
9+
:depth: 4
10+
11+
.. toctree::
12+
:maxdepth: 4
13+
14+
15+
Unit converters and subclasses
16+
------------------------------
317
Unit converters now also handle instances of subclasses of the class they have
418
been registered for.
519

6-
`~pyplot.imsave` gained support for the ``metadata`` and ``pil_kwargs`` parameters
7-
``````````````````````````````````````````````````````````````````````````````````
8-
These parameters behave similarly as for the `Figure.savefig()` method.
20+
`~pyplot.imsave` metadata and PIL options
21+
-----------------------------------------
22+
`~pyplot.imsave` has gained support for the ``metadata`` and ``pil_kwargs``
23+
parameters. These parameters behave similarly as for the `Figure.savefig()`
24+
method.
925

10-
11-
`cbook.normalize_kwargs` can be used to normalize artist property names
12-
```````````````````````````````````````````````````````````````````````
26+
`cbook.normalize_kwargs`
27+
------------------------
1328
`cbook.normalize_kwargs` now presents a convenient interface to normalize
1429
artist properties (e.g., from "lw" to "linewidth"):
1530

@@ -20,12 +35,13 @@ The first argument is the mapping to be normalized, and the second argument can
2035
be an artist class or an artist instance (it can also be a mapping in a
2136
specific format; see the function's docstring for details).
2237

38+
`FontProperties` and `os.PathLike`
39+
----------------------------------
2340
The *fname* argument to `FontProperties` can now be an `os.PathLike`\s
24-
``````````````````````````````````````````````````````````````````````
2541
e.g. ``FontProperties(fname=pathlib.Path("/path/to/font.ttf"))``.
2642

27-
Gouraud-shaded mesh alpha channels in the pdf backend
28-
-----------------------------------------------------
43+
Gouraud-shading alpha channel in PDF backend
44+
--------------------------------------------
2945
The pdf backend now supports an alpha channel in Gouraud-shaded
3046
triangle meshes.
3147

@@ -63,23 +79,13 @@ depending on font support (e.g., T and e, or the period after the W).
6379
ax.set_title('After (text.kerning_factor = 0)')
6480

6581

66-
bar3d gained support for the ``lightsource`` parameter
67-
------------------------------------------------------
82+
bar3d lightsource shading
83+
-------------------------
6884
bar3d now supports lighting from different angles when the *shade* parameter is
69-
True.
85+
True, which can be configured using the ``lightsource`` parameter.
7086

71-
Errorbar plots can shift which points have error bars
72-
-----------------------------------------------------
73-
Previously, `plt.errorbar()` accepted a kwarg `errorevery` such that the
74-
command `plt.errorbar(x, y, yerr, errorevery=6)` would add error bars to
75-
datapoints `x[::6], y[::6]`.
76-
77-
`errorbar()` now also accepts a tuple for `errorevery` such that
78-
`plt.errorbar(x, y, yerr, errorevery=(start, N))` adds error bars to points
79-
`x[start::N], y[start::N]`.
80-
81-
Errorbar plots can shift which points have error bars
82-
-----------------------------------------------------
87+
Shifting errorbars
88+
------------------
8389
Previously, `plt.errorbar()` accepted a kwarg `errorevery` such that the
8490
command `plt.errorbar(x, y, yerr, errorevery=6)` would add error bars to
8591
datapoints `x[::6], y[::6]`.
@@ -101,8 +107,8 @@ scale, depending on used zoom. The number of ticks is controlled. Some minor
101107
labels are displayed adaptively as sublabels in log scale. Formatting is adapted
102108
for probabilities and the precision is adapts to the scale.
103109

104-
rcParams for default axes title location and color
105-
--------------------------------------------------
110+
rcParams for axes title location and color
111+
------------------------------------------
106112
Two new rcParams have been added: ``axes.titlelocation`` denotes the default axes title
107113
alignment, and ``axes.titlecolor`` the default axes title color.
108114

0 commit comments

Comments
 (0)