Questions tagged [matplotlib-ion]
2 questions
1
vote
0 answers
matplotlib's ion() does not make any difference
To test the matplotlib's interactive mode, I used the following two code snippets:
Snippet 1: Has plt.ion() with no call to fig.canvas.draw():
import numpy as np
import matplotlib.pyplot as plt
x = np.array([])
y_1 = np.array([])
y_2 =…

Deepak Tatyaji Ahire
- 4,883
- 2
- 13
- 35
0
votes
0 answers
Ubuntu thinks matplotlib is not responding when running with ion()
I want a plot updates in real-time, updating once on each run of a loop that takes a bit of time to run. The code works, but I'm getting a lot of popups saying Visual Studio Code is not responding between updates (during the sleep in the code…

Lisa
- 1
- 1