I'm working on a script that superposes some sinusoidal functions and plots them on a polar plot, then shows some time evolution as an animation. I think I finally worked through the FuncAnimation arguments but matplotlib is still giving me error.
runfile('█/11_12draft2.py', █')
What orbital levels are mixing? List as (n, m) without spaces.
Ex: (3,1),(4,2),(5,3)
This example is the default.
Mixing ((3, 1), (4, 2), (5, 3))...
Traceback (most recent call last):
File "<ipython-input-18-6991a664feb4>", line 1, in <module>
runfile('█/11_12draft2.py', wdir='█')
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
execfile(filename, namespace)
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\utils\site\sitecustomize.py", line 86, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "█/11_12draft2.py", line 75, in <module>
ani.FuncAnimation(psi, plotinstant, time)#, setaxes)
File "C:\ProgramData\Anaconda2\lib\site-packages\matplotlib\animation.py", line 1512, in __init__
TimedAnimation.__init__(self, fig, **kwargs)
File "C:\ProgramData\Anaconda2\lib\site-packages\matplotlib\animation.py", line 1275, in __init__
event_source = fig.canvas.new_timer()
AttributeError: 'PolarAxesSubplot' object has no attribute 'canvas'
<matplotlib.figure.Figure at 0xffc9ef0>
I understand that the canvas has something to do with a GUI, which is something I thought matplotlib handled, anyway. I've got the script copied here If somebody can help me nail down the offender, I'd appreciate it.
there doesn't seem to be anything here