Re: [Matplotlib-users] reusing the pylab gui in a custom application (wxpython)?

2012-07-31 Thread Benjamin Root
On Sun, Jul 29, 2012 at 7:39 PM, Vlastimil Brom wrote: > 2012/7/30 Benjamin Root : > > > > > > On Sunday, July 29, 2012, Vlastimil Brom wrote: > >> > >> Hi all, > >> I'd like to ask about the possibility to eventually reuse the gui of > >> pylab for showing and manipulating the plots in the custom

Re: [Matplotlib-users] reusing the pylab gui in a custom application (wxpython)?

2012-07-31 Thread Vlastimil Brom
2012/7/31 Benjamin Root : > > > On Sun, Jul 29, 2012 at 7:39 PM, Vlastimil Brom > wrote: >> >> 2012/7/30 Benjamin Root : >> > >> > >> > On Sunday, July 29, 2012, Vlastimil Brom wrote: >> >> >> >> Hi all, >> >> I'd like to ask about the possibility to eventually reuse the gui of >> >> pylab for sho

Re: [Matplotlib-users] IndexError: index out of bounds

2012-07-31 Thread surfcast23
Hi Ben, I was working on some other things and have finally gotten a chance to get back to this. I changed the for loops to for i in range(nplots): for n in range(plotgap): t = t+dt w = (D*v) vnew = vold-2*dt*c*w vold = v v = vnew data[i,:] = v[0

Re: [Matplotlib-users] IndexError: index out of bounds

2012-07-31 Thread surfcast23
I also got the dimensions of the arrays and was wandering if the problem might be there shape data = (101, 512) shape v = (512, 512) shape tdata = (101, 1) shape x = (512,) Benjamin Root-2 wrote: > > On Sun, Jul 1, 2012 at 12:50 PM, surfcast23 wrote: > >> >> Hi, >> I am translating a M

Re: [Matplotlib-users] Bug in colorbar()

2012-07-31 Thread Eric Firing
On 2012/07/30 1:17 AM, Jeffrey Spencer wrote: > I'd agree as then it would work as pcolormesh or imshow does which when > passed in the same norm will only set vmin or vmax that wasn't > previously set. > > Assume this would be a really easy fix but I can have a look at > submitting a patch if some