Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve repr of mathtext internal structures; minor cleanup. #29972

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
Apr 28, 2025

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Apr 26, 2025

  • Improve the repr of mathtext boxes (see test_box_repr; previously the entire repr would be in a single line). Boxes are internal objects not exposed by any public API so the change is purely for debugging purposes.
  • In ship, off_h and off_v are never modified, so there's no need to declare them as nonlocal in the nested functions.

PR summary

PR checklist

- Improve the repr of mathtext boxes (see test_box_repr; previously the
  entire repr would be in a single line).  Boxes are internal objects
  not exposed by any public API so the change is purely for debugging
  purposes.
- In ship, off_h and off_v are never modified, so there's no need to
  declare them as nonlocal in the nested functions.
@QuLogic QuLogic added this to the v3.11.0 milestone Apr 28, 2025
@QuLogic QuLogic merged commit 520f99e into matplotlib:main Apr 28, 2025
47 checks passed
@anntzer anntzer deleted the mtd branch April 29, 2025 05: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.

3 participants