nLabs-nScope / nScopeAPI

39 stars 9 forks source link

soundVisualizer.py - name 'fig' is not defined #4

Closed mikewarot closed 8 years ago

mikewarot commented 8 years ago

Here's the error message from WinPython when I try to run the sound visualizer example.

Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. ==== No Subprocess ====

Traceback (most recent call last): File "C:\nScopeAPI\python\examples\soundVisualizer.py", line 29, in ani = animation.FuncAnimation(fig, update, interval=16) NameError: name 'fig' is not defined

davidjmeyer commented 8 years ago

Thanks, fixed in d9309d833bc44a4a71debd64f4d2e51469e638b4