python - How to draw matplotlib graph in eclipse? -
i can draw matplotlib graph in command line(shell) environment, find not draw same graph inside eclipse ide. such plot([1,2,3]) not show in eclipse, writed show() in end still not show
matplotlib use gtkagg backend, use pydev plugin of eclipse develop python.
import matplotlib.pyplot mp mp.ion() mp.plot(x,y) mp.show()
Comments
Post a Comment