Skip to content

Small cleanups. #30347

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
Jul 25, 2025
Merged

Small cleanups. #30347

merged 1 commit into from
Jul 25, 2025

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jul 24, 2025

  • In transforms_tutorial, the main point was to fix "back end" into "backend".
  • All callers of _get_ticklabel_bboxes (ultimately, get_tightbbox and draw) already make sure that renderer is not None, so remove that fallback.
  • Remove redundant shift-before-modulo in polar.py.
  • Many small cleanups to mathtext (rewrap many lines, rename some variables for conciseness or PEP8, etc.).

PR summary

PR checklist

- In transforms_tutorial, the main point was to fix "back end" into
  "backend".
- All callers of _get_ticklabel_bboxes (ultimately, get_tightbbox and
  draw) already make sure that renderer is not None, so remove that
  fallback.
- Remove redundant shift-before-modulo in polar.py.
- Many small cleanups to mathtext (rewrap many lines, rename some
  variables for conciseness or PEP8, etc.).
@tacaswell tacaswell added this to the v3.11.0 milestone Jul 24, 2025
@QuLogic QuLogic merged commit b2e8b93 into matplotlib:main Jul 25, 2025
43 checks passed
@anntzer anntzer deleted the cleanup branch July 25, 2025 09:51
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.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy