Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: ensure that the bounding box is scaled with dpi in example#26265

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

tacaswell
Copy link
Member

closes#26264

The three changes are:

  • convert the tightbox to inches (via dpi_scale_trans)
  • set the padding added inFancyBboxPatch to 0
  • set the transform onfancy to befig.dpi_scale_trans so at draw time it goes back to the correct pixels

@tacaswelltacaswell added this to thev3.8.0 milestoneJul 5, 2023
@tacaswell
Copy link
MemberAuthor

@jklymakjklymak merged commitabb2059 intomatplotlib:mainJul 5, 2023
@jklymak
Copy link
Member

Thanks for fixing this. There should be a straightforward way to do this, but this dance seems fine, particularly as this code is not very public.

@tacaswelltacaswell deleted the doc/fix_tight_bbox_example branchJuly 5, 2023 22:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.8.0
Development

Successfully merging this pull request may close these issues.

[Doc]: Incorrectly drawn bounding box
2 participants
@tacaswell@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp