nbody-python icon indicating copy to clipboard operation
nbody-python copied to clipboard

Axes instance error

Open edmanft opened this issue 4 years ago • 2 comments

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

edmanft avatar Apr 26 '21 17:04 edmanft

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'

pmocz avatar Apr 27 '21 01:04 pmocz

I use version 3.2.2, maybe the function changed in the update?

edmanft avatar Apr 27 '21 14:04 edmanft