Skip to content
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

Consolidate release notes for 3.6 #23814

Merged
merged 8 commits into from Sep 15, 2022
Merged

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Sep 7, 2022

PR Summary

Also add a couple of missing documentation entries for the new pages.

PR Checklist

Tests and Styling

  • [n/a] Has pytest style unit tests (and pytest passes).
  • [n/a] Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • [n/a] New features are documented, with examples if plot related.
  • [n/a] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

@QuLogic QuLogic changed the title Consolidate API changes for 3.6 Consolidate release notes for 3.6 Sep 8, 2022
Comment on lines 242 to 245
``tight_layout`` and ``constrained_layout`` are incompatible if a colorbar has
been added to the figure. Invoking the incompatible layout engine used to warn,
but now raises with a `RuntimeError`.

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, this was my wording, but if we can clarify:

Suggested change
``tight_layout`` and ``constrained_layout`` are incompatible if a colorbar has
been added to the figure. Invoking the incompatible layout engine used to warn,
but now raises with a `RuntimeError`.
You cannot switch between ``tight_layout`` and ``constrained_layout`` if a colorbar has
already been added to a figure. Invoking the incompatible layout engine used to warn,
but now raises with a `RuntimeError`.

Comment on lines 90 to 96
Axes title now avoids y-axis offset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Previously, Axes titles could overlap the y-axis offset text, which is often in
the upper left corner of the axes. Now titles are moved above the offset text
if overlapping, and automatic positioning is in effect (i.e. if *y* in
`.Axes.set_title` is *None* and :rc:`axes.titley` is also *None*).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Axes title now avoids y-axis offset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously, Axes titles could overlap the y-axis offset text, which is often in
the upper left corner of the axes. Now titles are moved above the offset text
if overlapping, and automatic positioning is in effect (i.e. if *y* in
`.Axes.set_title` is *None* and :rc:`axes.titley` is also *None*).
Axes title now avoids y-axis offset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously, Axes titles could overlap the y-axis offset text, which is often in
the upper left corner of the axes. Now titles are moved above the offset text
if overlapping when automatic title positioning is in effect (i.e. if *y* in
`.Axes.set_title` is *None* and :rc:`axes.titley` is also *None*).

'xy', 'center' or a 2-tuple of numbers.

Axes.inset_axes flexibility
---------------------------
Copy link
Member

Choose a reason for hiding this comment

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

I don’t know how much rearranging you generally do at this stage, but I wonder if this should go under “Figure and Axes creation / management”

@tacaswell
Copy link
Member

  • remove the errorbar markerfacecoloralt from api changes (it is in whats new)
  • merge the contour/contourf new kwarg into the whats new entry (rather than an API behavior change)

@tacaswell tacaswell merged commit df42410 into matplotlib:v3.6.x Sep 15, 2022
@QuLogic QuLogic deleted the relnotes36 branch September 15, 2022 21:08
@QuLogic QuLogic mentioned this pull request Sep 20, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants