We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wenn I do plt.tight_layout(pad=0) outer ticks are not considered and cut away:
plt.tight_layout(pad=0)
import matplotlib.pyplot as plt fig, ax = plt.subplots() ax.get_yaxis().set_tick_params(direction='out') ax.get_xaxis().set_tick_params(direction='out') ax.set_xlim(0.05, 0.95) fig.tight_layout(pad=0) fig.savefig('outer_ticks.png', dpi=300)
Result:
The text was updated successfully, but these errors were encountered:
Milestoning this as 2.0, since if we choose to go with outer ticks in the new defaults, we'll need to first fix this bug.
Sorry, something went wrong.
Fix matplotlib#5281: Include ticks in tight bounding box
4534759
Fixed by #5683.
mdboom
No branches or pull requests
Wenn I do
plt.tight_layout(pad=0)
outer ticks are not considered and cut away:Result:
The text was updated successfully, but these errors were encountered: