8000 Label subscript cutoff when increasing dpi · Issue #17944 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Label subscript cutoff when increasing dpi #17944

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

Closed
jacobmerson opened this issue Jul 16, 2020 · 2 comments
Closed

Label subscript cutoff when increasing dpi #17944

jacobmerson opened this issue Jul 16, 2020 · 2 comments
Labels
status: closed as inactive Issues closed by the "Stale" Github Action. Please comment on any you think should still be open. status: inactive Marked by the “Stale” Github Action topic: text/mathtext

Comments

@jacobmerson
Copy link

Bug report

Bug summary

When using a (latex) fraction in the y axis the subscript is cutoff when the dpi and fontsize are increased. This behavior does not appear when using the default settings for figure dpi (100).

Code for reproduction

import matplotlib.pyplot as plt
fig,ax = plt.subplots(dpi=300)
ax.set_ylabel(r"$\frac{E_0}{E_{\infty}}$",
              rotation=0,fontsize=30,labelpad=20)
plt.savefig("test.png")

Actual outcome
test

Expected outcome
I do not expect the subscript to be cutoff.

Matplotlib version

  • Operating system: Windows 10
  • Matplotlib version: 3.1.3
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.7.6
  • Jupyter version (if applicable): N/A
  • Other libraries: None

Matplotlib was installed with baseline anaconda python

@anntzer
Copy link
Contributor
anntzer commented Jul 16, 2020

looks like a dupe of #15313.

@github-actions
Copy link

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Aug 11, 2023
@github-actions github-actions bot added the status: closed as inactive Issues closed by the "Stale" Github Action. Please comment on any you think should still be open. label Sep 11, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: closed as inactive Issues closed by the "Stale" Github Action. Please comment on any you think should still be open. status: inactive Marked by the “Stale” Github Action topic: text/mathtext
Projects
None yet
Development

No branches or pull requests

3 participants
0