Skip to content

Restyle in a zoomed 3D state sometimes changes the zoom level #2181

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

Open
ksze opened this issue Nov 27, 2017 · 5 comments
Open

Restyle in a zoomed 3D state sometimes changes the zoom level #2181

ksze opened this issue Nov 27, 2017 · 5 comments
Labels
bug something broken P3 backlog

Comments

@ksze
Copy link

ksze commented Nov 27, 2017

When using Scatter3D, sometimes if the plot is restyled while it is in a zoomed state, the zoom level is spontaneously changed; sometimes a little, sometimes a lot.

To reproduce:

  1. Visit this codepen: https://codepen.io/k_sze/pen/WXgNoJ
  2. Zoom the plot a little bit using your mouse wheel; You can zoom in or out;
  3. Open codepen's console and run the restyle() function;
  4. Watch the plot's zoom level get changed spontaneously.

You may need to repeat steps 2 and 3 a few times.

Not sure if it's related to #346 and the fix in #351.

@ksze ksze changed the title Restyle in a zoomed state sometimes slightly changes the zoom level Restyle in a zoomed state sometimes changes the zoom level Nov 27, 2017
@etpinard
Copy link
Contributor

Ha. There must be some rounding error when converting to the eye/up/center vectors of the layout.scene.camera attribute on vice-versa.

Thanks for the report.

@etpinard etpinard added the bug something broken label Nov 27, 2017
@etpinard etpinard changed the title Restyle in a zoomed state sometimes changes the zoom level Restyle in a zoomed 3D state sometimes changes the zoom level Apr 13, 2018
@kirsan31

This comment has been minimized.

@nicolaskruchten
Copy link
Contributor

Thanks for the bug report! I think it might be related to #5050 and/or #5005

@creinarz
Copy link

Has this issue been solved? I am using plotly 5.6.0 and still have this problem.
Thanks!

@Dmitriymush
Copy link

Same thing for me, when data is being constantly updated (like 1 sec in period) it's really huge problem.

@gvwilson gvwilson self-assigned this Jun 10, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

7 participants