How to draw matplotlib graph in eclipse?
I can draw matplotlib graph in command line(shell) environment, but I find that I could not draw the same graph开发者_JS百科 inside the eclipse IDE. such as plot([1,2,3])
not show in eclipse, I writed show()
in the end but still not show anything
import matplotlib.pyplot as mp mp.ion() mp.plot(x,y) mp.show()
精彩评论