LCOGT / mop

Microlensing Observation Portal
GNU General Public License v3.0
0 stars 7 forks source link

MOP TOM model plot ui upside down #201

Open mpgh opened 1 week ago

mpgh commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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

mpgh commented 1 week ago

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

jchate6 commented 1 week ago

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

mpgh commented 1 week ago

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