Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add some more internal links to 3.2.0 what's new #15180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions 45 doc/users/prev_whats_new/whats_new_3.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ revision, see the :ref:`github-stats`.
:maxdepth: 4


Unit converters and subclasses
------------------------------
Unit converters recognize subclasses
------------------------------------
Unit converters now also handle instances of subclasses of the class they have
been registered for.

`~pyplot.imsave` metadata and PIL options
-----------------------------------------
`~pyplot.imsave` has gained support for the ``metadata`` and ``pil_kwargs``
parameters. These parameters behave similarly as for the `Figure.savefig()`
`~.pyplot.imsave` accepts metadata and PIL options
--------------------------------------------------
`~.pyplot.imsave` has gained support for the ``metadata`` and ``pil_kwargs``
parameters. These parameters behave similarly as for the `.Figure.savefig()`
method.

`cbook.normalize_kwargs`
------------------------
`cbook.normalize_kwargs` now presents a convenient interface to normalize
`.cbook.normalize_kwargs` now presents a convenient interface to normalize
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skeptical cbook things should be in what’s new or should be clearly delineated as developer helpers

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Developers read the release notes too!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just don’t think what’s new should have arcana like this in it.

artist properties (e.g., from "lw" to "linewidth"):

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

`FontProperties` and `os.PathLike`
----------------------------------
The *fname* argument to `FontProperties` can now be an `os.PathLike`\s
e.g. ``FontProperties(fname=pathlib.Path("/path/to/font.ttf"))``.
`.FontProperties` accepts `os.PathLike`
---------------------------------------
The *fname* argument to `.FontProperties` can now be an `os.PathLike`,
e.g.

>>> FontProperties(fname=pathlib.Path("/path/to/font.ttf"))

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

bar3d lightsource shading
-------------------------
bar3d now supports lighting from different angles when the *shade* parameter is
True, which can be configured using the ``lightsource`` parameter.
:meth:`~.Axes3D.bar3d` now supports lighting from different angles when the *shade*
parameter is ``True``, which can be configured using the ``lightsource``
parameter.

Shifting errorbars
------------------
Previously, `plt.errorbar()` accepted a kwarg `errorevery` such that the
command `plt.errorbar(x, y, yerr, errorevery=6)` would add error bars to
datapoints `x[::6], y[::6]`.
Previously, `.plt.errorbar()` accepted a kwarg ``errorevery`` such that the
command ``plt.errorbar(x, y, yerr, errorevery=6)`` would add error bars to
datapoints ``x[::6], y[::6]``.

`errorbar()` now also accepts a tuple for `errorevery` such that
`plt.errorbar(x, y, yerr, errorevery=(start, N))` adds error bars to points
`x[start::N], y[start::N]`.
`.plt.errorbar()` now also accepts a tuple for `errorevery` such that
``plt.errorbar(x, y, yerr, errorevery=(start, N))`` adds error bars to points
``x[start::N], y[start::N]``.

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

rcParams for axes title location and color
------------------------------------------
Two new rcParams have been added: ``axes.titlelocation`` denotes the default axes title
alignment, and ``axes.titlecolor`` the default axes title color.
Two new rcParams have been added: :rc:`axes.titlelocation` denotes the default axes title
alignment, and :rc:`axes.titlecolor` the default axes title color.

Valid values for ``axes.titlelocation`` are: left, center, and right.
Valid values for ``axes.titlecolor`` are: auto or a color. Setting it to auto
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.