-
Notifications
You must be signed in to change notification settings - Fork 101
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
In pintk
, the "phase" axis label for pre-fit and post-fit appears on the left instead of on the right.
#1699
Comments
which files did you use for this? |
This is using one of the simulated datasets I generated for #1673. But the bug appears for any set of par/tim files. |
This could be something to do with Tcl/Tk. Probably not worth a lot of digging from PINT since it seems to be hard to reproduce unless we can find other reports online. |
Note that I'm also seeing this bug on my Linux system. Thanks to @dlakaplan for pointing this out. I tried to fix it to no avail. The code looks correct. It is quite annoying. I was thinking about overwriting the yaxis label and simply explicitly adding text at the proper position in device coordinates, but I'm not sure how that would work on re-scaling the window etc. I might try it. |
I recently used https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.secondary_yaxis.html#matplotlib.axes.Axes.secondary_yaxis instead of |
Both phase and time Y axes are shown for "pre-fit" and "post-fit". The phase axis is shown on the right, but its Y label appears on the left for some reason.
The text was updated successfully, but these errors were encountered: