Closed Maahk closed 12 months ago
Thanks a lot for the bug report! I can reproduce the issue (The MWE is very much appreciated!).
I don't immediately see where the problem comes from. The OrbitPlotSet.update() function just calls the update function on three OrbitPlot objects. I'll look into it...
Sorry, that took me a bit to figure out. Turns out the issue was that when the plot was initialized, it was actually initialized twice. This fix works for me, but let me know if you encounter other problems!
Using the Python-example from OrbitPlot to update the plot after integrating works as intended.
When exchanging OrbitPlot to OrbitPlotSet and calling .update(), the updated plot shows both the old and updated points simultaneously. There was no error nor a warning that calling .update() on an OrbitPlotSet is not supported(?).
MWE:
rebound.moduleversion
'3.25.1'