-
Notifications
You must be signed in to change notification settings - Fork 38
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
Incompatibility with plt.subplots(..., sharey=True)
#26
Comments
I'm also running into this problem. |
Thank you @liliblu for the solution! @sholderbach can you try the above please? If the solution works for you, please close the issue. |
Thank you all for raising this issue, and sorry for the delay in addressing it. I've just fixed the auto-scaling in Logo() to account for the sister ax objects in each fig object that have coordinated limits via sharey=True or sharex=True (see lines 1058-1063 and 1072-1077 in Logo.py). I'm closing this issue now; please raise again if you find any problems. |
Awesome, thanks! |
As the drawcall updates the
ylim
using thesharey=True
setting inmatplotlib.pyplot.subplots()
is not really useful to compare the weights of different matrices.MRE:
Output:
Expected behavior:
If multiple logos with a shared y or x axes are drawn, the range accomodates the largest drawing to allow comparison of the magnitude.
matplotlib version used:
3.5.2
The text was updated successfully, but these errors were encountered: