-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Consolidate release notes for 3.6 #23814
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
Conversation
``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`. | ||
|
There was a problem hiding this comment.
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:
``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`. |
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*). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 | ||
--------------------------- |
There was a problem hiding this comment.
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”
3cefd43
to
2d38fc3
Compare
|
PR Summary
Also add a couple of missing documentation entries for the new pages.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).