-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Line 58 in 9311882
| data = get_sample(stream,pa) |
When I start running it, I get the following error and the animation stops with 1st image.
.../Live-Specgram/run_specgram.py", line 58, in update_fig
data = get_sample(stream,pa)
NameError: name 'stream' is not defined
I was able to animate fine, after I declared variables global in the main definition.
def main():
global stream
global pa
global im
Yasu31 and wwerkk
Metadata
Metadata
Assignees
Labels
No labels