windows - Slow console input when interactively plotting matplotlib -
i want input stuff in console , every , update graph. therefore use pylab interactive mode. however, when typing input windows console responds short time delay if memory used interactive plotting.
is there way avoid slowing effect?
import pylab plt plt.ion() #░interactive mode on plt.plot([1,2,3]) plt.draw() while true: test=str(raw_input('type fast , observe delay\n: '))
Comments
Post a Comment