Open
Description
Paste in the interactive session:
import matplotlib.pyplot as plt
def example():
plt.figure()
plt.plot(range(10), range(10))
plt.show()
example() # plot appears
plt.ion()
example() # plot does not appear
Additional info:
- Do
plt.ion()
, then callexample()
many times. When quitting bpython3, the windows appear for a fraction of second.
bpython3 0.18 on Fedora 31, Python 3.7.6
bpython3 0.17.1 on Debian 10, Python 3.7.3