-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] Plotly Figure scale not respected for Mesh3d figure #2786
Comments
hi @GalTechDev |
Hi @Coding-with-Adam |
Thanks for sharing @GalTechDev |
Hi @Coding-with-Adam at Line 105 I forgot to switch visibility to True when I upload my code, this will show you the grey grid |
Indeed, I was able to replicate the same error. It seems like the scaling gets messed up when the callback fires and switches function from "plot" to "mesh". |
Hi, I'm very new to open source projects and I am looking to make my first contribution. Would this bug be a reasonable first issue? Not to sound helpless, I just want to make sure I can make a meaningful contribution. Thanks. |
Hi @brandonmiyamoto |
Context
The bug
I am encountering an issue with the scaling of axes in a 3D plot created using Dash and Plotly. Specifically, I have created a Mesh3d figure with dimensions of 2 by 2 by 2. However, upon visualization, it is apparent that the scaling of the y-axis is not accurately represented. Despite the grid displaying the correct values, the y-axis appears significantly smaller than the other axes.
This happen when I switch from a Scatter3d figure to a Mesh3d figure
Expected behavior
The scaling of all axes (x, y, and z) should accurately represent the dimensions of the figure, with each axis spanning from -1 to 1.
Screenshots
Initial (Expected) :
Switch to Scatter3d
Switch back to Mesh3d
Video
2024-03-07.13-48-08.mp4
The text was updated successfully, but these errors were encountered: