I have a strange problem while trying to draw a plot from Sublime Text 3 Repl. When I execute the code below nothing happened. REPL no longer responds to any commands:
import matplotlib.pyplot as plt plt.plot([1,2,4,5]) plt.show() # After hit enter nothing happened
However, when Im executes this code, the graph displays:
import matplotlib.pyplot as plt plt.ion() plt.plot([1,2,4,5]) # plot is displaying on this command
I tested the first code on the python and cmd interpreter, and its work in Sublime REPL was not.
I am using Python 3.4.1 and latest build ST3
Does anyone have a similar problem and can help?
thanks
movax source share