nbody-python
nbody-python copied to clipboard
Axes instance error
An error pops when I try to do the visualization:
line 858, in sca raise ValueError("Axes instance argument was not found in a figure")
ValueError: Axes instance argument was not found in a figure
You see this error if you prematurely close the figure, which is not a problem.
If you do not see any figure pop up, then this may be an issue with your python install. Which version of python and matplotlib are you using?
$ python --version
Python 3.7.4
$ python
>>> import matplotlib
>>> matplotlib.__version__
'3.1.2'
I use version 3.2.2, maybe the function changed in the update?