-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Labels
status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Actiontopic: text/mathtext
Description
<
71DC
div class="ActivityHeader-module__narrowViewportWrapper--Hjl75 IssueBodyHeader-module__narrowViewportWrapper--XfEFl">
opened on Jul 16, 2020
Issue body actions
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")
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
Metadata
Metadata
Assignees
Labels
status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Actiontopic: text/mathtext