I just installed matplotlib and I am really excited about it. I have often thought it would be great to have all of the Matlab plotting capabilities without having to pay for their software and now I have that and Python. What could be better?
I am having a slight problem with my install on FC3 Linux running KDE. When I am developing scripts, I like to generate a lot of plots along the way and want them to refresh every time I run the script. When I run the following code with the TkAgg backend it works o.k., but with the GTKAgg backend, only the second plot updates:
from pylab import *
#close('all')
figure(1)
cla()
plot(rand(20),rand(20),'go')
figure(2)
cla()
plot(rand(20),rand(20),'ro')
show()
and uncommenting the close('all') line works fine with TkAgg but sort of locks things up with GTKAgg.
I will just use TkAgg for now, but was wondering if I can fix this.
Thanks,
Ryan