You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lately there have been addressed a few questions on the Plotly forum about 3D animation. I noticed that unlike 2-3 years ago, now the scene is moving during the animation, although the scene xaxis, yaxis, zaxis range, was set such so that all frame points fit safely into the parallelepiped defined by these ranges. A workaround I suggested is to add a dummy Scatter3d trace consisting in 2 points of minimum and maximum coordinates, i.e. the diagonally opposite points in the parallelepiped defining the scenes. I remember that before a certain version of plotly.js this trick was not necessary. What would be another solution to keep the scene fixed from frame to frame?
Lately there have been addressed a few questions on the Plotly forum about 3D animation. I noticed that unlike 2-3 years ago, now the scene is moving during the animation, although the scene xaxis, yaxis, zaxis range, was set such so that all frame points fit safely into the parallelepiped defined by these ranges. A workaround I suggested is to add a dummy Scatter3d trace consisting in 2 points of minimum and maximum coordinates, i.e. the diagonally opposite points in the parallelepiped defining the scenes. I remember that before a certain version of plotly.js this trick was not necessary. What would be another solution to keep the scene fixed from frame to frame?
Here https://chart-studio.plotly.com/~empet/16182 is an example with fixed axes range, and this one https://chart-studio.plotly.com/~empet/16180 (as answer for plotly/plotly.py#3753), with a dummy Scatter3d trace, of small marker size, that plots exactly the points having the end coordinates in the above ranges.
The text was updated successfully, but these errors were encountered: