I'm having an issue with rebound.OrbitPlot. I've been trying to follow the example given at https://rebound.readthedocs.io/en/latest/ipython_examples/OrbitPlot/. Specifically, I have tried to copy the first three code cells and run them directly. However, whenever I run the third cell (op.fig.savefig("orbit.png")), I get the following error: AttributeError: 'tuple' object has no attribute 'fig'. Is there a known fix to this issue? I also have the same error when trying to run op.ax.text().
`
I'm having an issue with rebound.OrbitPlot. I've been trying to follow the example given at https://rebound.readthedocs.io/en/latest/ipython_examples/OrbitPlot/. Specifically, I have tried to copy the first three code cells and run them directly. However, whenever I run the third cell (
op.fig.savefig("orbit.png")
), I get the following error:AttributeError: 'tuple' object has no attribute 'fig'
. Is there a known fix to this issue? I also have the same error when trying to runop.ax.text()
. `