On 06/27/2011 03:38 AM, Jonathan Slavin wrote:
> I tried the suggested clean-up but saw no difference in performance. I
> left out a crucial piece of information, I think, in my earlier message.
> The delay in drawing occurs when I'm running the code from within
> ipython, invoked with the -pylab
I tried the suggested clean-up but saw no difference in performance. I
left out a crucial piece of information, I think, in my earlier message.
The delay in drawing occurs when I'm running the code from within
ipython, invoked with the -pylab flag. When I run it directly from the
command line, I
On 06/24/2011 04:03 AM, Jonathan Slavin wrote:
> import matplotlib.pyplot as plt
> plt.ion()
> fig = plt.gcf()
> for obsid in obsids:
>
> plt.cla()
> fig = plt.gcf()
> ax = fig.add_axes([0.15,0.1,0.8,0.6])
> ax.plot(x,y)
> plt.draw()
> ans = raw_input('continue?