Re: [Matplotlib-users] protect figure with gui-neutral widgets

2012-07-02 Thread Eric Firing
On 07/02/2012 12:36 PM, Pavol Juhas wrote: > Done - https://github.com/matplotlib/matplotlib/issues/984 Thank you. > I guess this means there is currently no way around it, right? None that I know of offhand. Eric > > Pavol > > ---

Re: [Matplotlib-users] protect figure with gui-neutral widgets

2012-07-02 Thread Pavol Juhas
Done - https://github.com/matplotlib/matplotlib/issues/984 I guess this means there is currently no way around it, right? Pavol -- Live Security Virtual Conference Exclusive live event will cover all the ways today's secu

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

2012-07-02 Thread Benjamin Root
On Sun, Jul 1, 2012 at 12:50 PM, surfcast23 wrote: > > Hi, > I am translating a Matlab code to python and get the following error when > the codes reaches the plotting section > > Warning (from warnings module): > File "C:\Documents and Settings\My Documents\PHYSICS\Wave-eqn.py", line > 40 >

Re: [Matplotlib-users] Updating a colorbar

2012-07-02 Thread Eric Firing
On 06/27/2012 09:12 PM, Mads Ipsen wrote: > Hi, > > Suppose you do this: > > axes = self.figure().get_axes() > contour = axes.contourf(x,y,z) > colorbar = self.figure().colorbar(contour) > > Suppose that the contour data changes, can you update the colorbar with > the new data? > > Currently I remo

Re: [Matplotlib-users] Updating a colorbar

2012-07-02 Thread Benjamin Root
Mads, On Thu, Jun 28, 2012 at 3:12 AM, Mads Ipsen wrote: > Hi, > > Suppose you do this: > > axes = self.figure().get_axes() > contour = axes.contourf(x,y,z) > colorbar = self.figure().colorbar(contour) > > Suppose that the contour data changes, can you update the colorbar with > the new data? >

Re: [Matplotlib-users] Tick label text

2012-07-02 Thread Benjamin Root
Mads, On Thu, Jun 28, 2012 at 7:47 AM, Mads Ipsen wrote: > I want to make some mods to a few selected tick labels. > > For example, if I do > > label = axes.yaxis.get_major_ticks()[2].label > label.set_fontsize(size) > label.set_rotation('vertical') > > the font size and the orientation o

Re: [Matplotlib-users] protect figure with gui-neutral widgets

2012-07-02 Thread Eric Firing
On 07/02/2012 06:34 AM, Pavol Juhas wrote: > Hi all, > > I have been using backend-neutral matplotlib (0.99) widgets to implement > a simple GUI control, which can be opened from IPython pylab session. > The widgets are all contained in a dedicated figure, however if this > figure is the current on

[Matplotlib-users] protect figure with gui-neutral widgets

2012-07-02 Thread Pavol Juhas
Hi all, I have been using backend-neutral matplotlib (0.99) widgets to implement a simple GUI control, which can be opened from IPython pylab session. The widgets are all contained in a dedicated figure, however if this figure is the current one, pyplot commands draw through the widget elements.

[Matplotlib-users] conflicts with navigation bar events

2012-07-02 Thread Jean-Francois . Moulin
Hi all! How can I use the keyboard events up/down/right/left without starting an interaction with the navigation toolbar? I connected to the keypress events and everything looks ok until I press the down key: my connected method gets called once and the navigation toolbar then gets the focus. F