Using frames, I create an animation of the solar system with impending photon clusters. There was a problem when capturing objects on frames.
I create frames as a list (plotly.graph_objects.Frame), passing two objects as the data parameter: Scatter3d and Isosurface. The problem is that for each frame, only the first transferred object is displayed in the data field of the Frame object.
In this case, only the Scatter3d object will be displayed on the frame. If you swap data objects, then Isosurface will be displayed, without Scatter3d.
Also, it turned out to add Isosurface separately from frames via fig.add_surface, but this does not suit me, since each such object changes in time.
Can you suggest which way to look to solve the problem? If you need more information, I will provide. Thank you in advance.