problem with plotting

Anish Chapagain anishchapagain at gmail.com
Fri Aug 29 07:01:42 EDT 2008


hi,
I'm getting problem with the code below which after displaying graph
plotted in external window, doesnot closes itself, even after closing
the window of plotting the main python window shows processing.
code goes like this...

plot(col1, col2, linewidth=1.0)
xlabel('col1')
ylabel('col2')
title('Values from List created with file read')
grid(True)
savefig('col1 col2.pdf')
show()


is there any other function to be called after show() to close it
properly.

thank's for any help.

anish



More information about the Python-list mailing list