FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Restore get_renderer function in deprecated tight_layout by oscargus · Pull Request #24301 · matplotlib/matplotlib · GitHub

Repository navigation

Restore get_renderer function in deprecated tight_layout - #24301

Merged
QuLogic merged 1 commit into
matplotlib:mainfrom
oscargus:restoregetrenderer
Nov 2, 2022
Merged

QuLogic merged 1 commit into
matplotlib:mainfrom
oscargus:restoregetrenderer

Conversation

Copy link
Copy Markdown
Member

PR Summary

get_renderer was removed in #22745 despite being a public (listed) function, see #24300 (comment)

Closes #24300

PR Checklist

Tests and Styling

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

Documentation

  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

oscargus added this to the v3.6.2 milestone Oct 29, 2022
oscargus marked this pull request as ready for review October 29, 2022 10:52
oscargus changed the title Restore get_rendered function in deprecated tight_layout Restore get_renderer function in deprecated tight_layout Oct 29, 2022
Comment thread lib/matplotlib/_tight_layout.py Outdated

timhoffm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Maybe better restore the method to the non-private module?

Copy link
Copy Markdown
Member Author

You are both right. I was, incorrectly, under the impression that the module would be removed once the deprecation expires. Thanks for thinking!

Comment thread lib/matplotlib/tight_layout.py Outdated

jklymak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Leaving open if @timhoffm wanted to comment further.

Comment thread lib/matplotlib/tight_layout.py Outdated
QuLogic merged commit f26219b into matplotlib:main Nov 2, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 2, 2022
QuLogic added a commit that referenced this pull request Nov 2, 2022
…301-on-v3.6.x

Backport PR #24301 on branch v3.6.x (Restore get_renderer function in deprecated tight_layout)
oscargus deleted the restoregetrenderer branch November 2, 2022 07:44
ksunden mentioned this pull request Feb 20, 2023
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot import name 'get_renderer' from 'matplotlib.tight_layout

6 participants


Back | FazBrowse Home | New Git URL