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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -