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

MOP TOM model plot ui upside down #201

Open
mpgh opened this issue Sep 26, 2024 · 5 comments
Open

MOP TOM model plot ui upside down #201

mpgh opened this issue Sep 26, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mpgh
Copy link
Collaborator

mpgh commented Sep 26, 2024

Plots of ongoing microlensing events can be shown upside known as if the magnification were negative. The actual parameters would not suggest it, the issue is not persistent and after reloading the page the model is shown correctly. Issue appears under ubuntu 22, firefox.

@mpgh mpgh added the bug Something isn't working label Sep 26, 2024
@mpgh
Copy link
Collaborator Author

mpgh commented Sep 26, 2024

The reason is that users are allowed to zoom in with plotly and this can reverse the y-axis depending on the way boxes are defined.

@mpgh mpgh closed this as completed Sep 26, 2024
@mpgh
Copy link
Collaborator Author

mpgh commented Sep 26, 2024

this also appears when you click on reset axis, i.e. the definition to have low magnitudes up is lost in the UI

@mpgh
Copy link
Collaborator Author

mpgh commented Sep 26, 2024

the behaviour seems to persist when resetting axis, i.e. the magnitude axis flip for reset axis needs to be adjusted

@mpgh mpgh reopened this Sep 26, 2024
@jchate6
Copy link
Contributor

jchate6 commented Sep 26, 2024

@mpgh does this happen with a certain Target?
Can you please provide a screenshot and/or a link to an example?

@mpgh
Copy link
Collaborator Author

mpgh commented Sep 26, 2024

this happens to various targets after zooming in, double click zoom out and reset axis, e.g.
newplot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants