Skip to content
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

'right' and 'top' in plt.subplots_adjust() are not directly padding size #109

Open
K-gihu opened this issue May 5, 2022 · 3 comments · May be fixed by #112
Open

'right' and 'top' in plt.subplots_adjust() are not directly padding size #109

K-gihu opened this issue May 5, 2022 · 3 comments · May be fixed by #112

Comments

@K-gihu
Copy link

K-gihu commented May 5, 2022

Very thankful of the cheatsheet, but I think there's a little problem.
In 'Axes adjustments' of the second cheatsheet, 'right' directly refers to the padding between subplots' right edge and figure's right edge. However it actually refers to the relative distance between subplots' right edge and figure's left edge. The same also applies to 'top'.

@oscargus
Copy link
Member

oscargus commented May 5, 2022

Well spotted! The documentation is correct (although could be clearer): https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.subplots_adjust.html

@rougier
Copy link
Member

rougier commented May 6, 2022

Thanks. Can you make a PR?

@K-gihu
Copy link
Author

K-gihu commented May 7, 2022

I might make one PR later when I have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants