Open GalTechDev opened 4 months ago
hi @GalTechDev Thank you for reporting this. Can you please share a MRE so we can replicate this error locally?
Hi @Coding-with-Adam Here is a github gist with my code https://gist.github.com/GalTechDev/52d4236f54c1863027c8956d4a82dd6c
Thanks for sharing @GalTechDev It's really weird because, using your code, I can't even see the gray background of the axes.
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? If so, what is the general protocol I should adhere to?
Not to sound helpless, I just want to make sure I can make a meaningful contribution.
Thanks.
Hi @brandonmiyamoto I don't know how hard this bug can be to fix, but it will really help me with my project.
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
https://github.com/plotly/dash/assets/81401725/9a2da42a-fbc5-4a90-9d4e-eff494405c48