Skip to content

Commit 1020055

Browse files
authored
Merge pull request #15180 from dstansby/whats-new-iter
DOC: Add some more internal links to 3.2.0 what's new
2 parents e1f0392 + 8c34cde commit 1020055

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

doc/users/prev_whats_new/whats_new_3.2.0.rst

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ revision, see the :ref:`github-stats`.
1212
:maxdepth: 4
1313

1414

15-
Unit converters and subclasses
16-
------------------------------
15+
Unit converters recognize subclasses
16+
------------------------------------
1717
Unit converters now also handle instances of subclasses of the class they have
1818
been registered for.
1919

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()`
20+
`~.pyplot.imsave` accepts 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()`
2424
method.
2525

2626
`cbook.normalize_kwargs`
2727
------------------------
28-
`cbook.normalize_kwargs` now presents a convenient interface to normalize
28+
`.cbook.normalize_kwargs` now presents a convenient interface to normalize
2929
artist properties (e.g., from "lw" to "linewidth"):
3030

3131
>>> cbook.normalize_kwargs({"lw": 1}, Line2D)
@@ -35,10 +35,12 @@ The first argument is the mapping to be normalized, and the second argument can
3535
be an artist class or an artist instance (it can also be a mapping in a
3636
specific format; see the function's docstring for details).
3737

38-
`FontProperties` and `os.PathLike`
39-
----------------------------------
40-
The *fname* argument to `FontProperties` can now be an `os.PathLike`\s
41-
e.g. ``FontProperties(fname=pathlib.Path("/path/to/font.ttf"))``.
38+
`.FontProperties` accepts `os.PathLike`
39+
---------------------------------------
40+
The *fname* argument to `.FontProperties` can now be an `os.PathLike`,
41+
e.g.
42+
43+
>>> FontProperties(fname=pathlib.Path("/path/to/font.ttf"))
4244

4345
Gouraud-shading alpha channel in PDF backend
4446
--------------------------------------------
@@ -81,18 +83,19 @@ depending on font support (e.g., T and e, or the period after the W).
8183

8284
bar3d lightsource shading
8385
-------------------------
84-
bar3d now supports lighting from different angles when the *shade* parameter is
85-
True, which can be configured using the ``lightsource`` parameter.
86+
:meth:`~.Axes3D.bar3d` now supports lighting from different angles when the *shade*
87+
parameter is ``True``, which can be configured using the ``lightsource``
88+
parameter.
8689

8790
Shifting errorbars
8891
------------------
89-
Previously, `plt.errorbar()` accepted a kwarg `errorevery` such that the
90-
command `plt.errorbar(x, y, yerr, errorevery=6)` would add error bars to
91-
datapoints `x[::6], y[::6]`.
92+
Previously, `.plt.errorbar()` accepted a kwarg ``errorevery`` such that the
93+
command ``plt.errorbar(x, y, yerr, errorevery=6)`` would add error bars to
94+
datapoints ``x[::6], y[::6]``.
9295

93-
`errorbar()` now also accepts a tuple for `errorevery` such that
94-
`plt.errorbar(x, y, yerr, errorevery=(start, N))` adds error bars to points
95-
`x[start::N], y[start::N]`.
96+
`.plt.errorbar()` now also accepts a tuple for `errorevery` such that
97+
``plt.errorbar(x, y, yerr, errorevery=(start, N))`` adds error bars to points
98+
``x[start::N], y[start::N]``.
9699

97100
Improvements in Logit scale ticker and formatter
98101
------------------------------------------------
@@ -109,8 +112,8 @@ for probabilities and the precision adapts to the scale.
109112

110113
rcParams for axes title location and color
111114
------------------------------------------
112-
Two new rcParams have been added: ``axes.titlelocation`` denotes the default axes title
113-
alignment, and ``axes.titlecolor`` the default axes title color.
115+
Two new rcParams have been added: :rc:`axes.titlelocation` denotes the default axes title
116+
alignment, and :rc:`axes.titlecolor` the default axes title color.
114117

115118
Valid values for ``axes.titlelocation`` are: left, center, and right.
116119
Valid values for ``axes.titlecolor`` are: auto or a color. Setting it to auto

0 commit comments

Comments
 (0)