Re: [Matplotlib-users] (no subject)

2012-02-18 Thread Eric Firing
On 02/18/2012 01:44 PM, frank.fei...@hushmail.com wrote: > Hello all. > > I have a rather long code and get always a strange error: > > can't invoke "event" command: application has been destroyed > while executing > "event generate $w <>" > (procedure "ttk::ThemeChanged" line 6) > invoked from wit

[Matplotlib-users] (no subject)

2012-02-18 Thread frank . feiler
Hello all. I have a rather long code and get always a strange error: can't invoke "event" command: application has been destroyed while executing "event generate $w " (procedure "ttk::ThemeChanged" line 6) invoked from within "ttk::ThemeChanged" The code is too long but I found some

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Eric Firing
On 02/18/2012 01:14 PM, Michael Rawlins wrote: > > > *From:* Eric Firing > *To:* Michael Rawlins > *Cc:* "matplotlib-users@lists.sourceforge.net" > > *Sent:* Saturday, February 18, 2012 5:42 PM > *Subject:* Re: [Matplotlib-

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, February 18, 2012 5:42 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 11:54 AM, Michael Rawlins wrote: >

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Saurav Pathak
I created an issue here: https://github.com/matplotlib/matplotlib/issues/707 On 02/18/2012 11:00 AM, Benjamin Root wrote: On Saturday, February 18, 2012, Jerzy Karczmarczuk wrote: Saurav Pathak : > I am trying to generate key press events in matplotlib (imshow) embedded > in p

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Eric Firing
On 02/18/2012 11:54 AM, Michael Rawlins wrote: > > > > *From:* Eric Firing > *To:* Michael Rawlins > *Cc:* "matplotlib-users@lists.sourceforge.net" > > *Sent:* Saturday, February 18, 2012 3:57 PM > *Subject:* Re: [Matplotli

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, February 18, 2012 3:57 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 10:49 AM, Michael Rawlins wrote:

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Eric Firing
On 02/18/2012 10:49 AM, Michael Rawlins wrote: > > > > *From:* Eric Firing > *To:* matplotlib-users@lists.sourceforge.net > *Sent:* Saturday, February 18, 2012 12:26 PM > *Subject:* Re: [Matplotlib-users] installed python-sci

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 12:26 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 07:17 AM, Michael Rawlins wrote: > > A couple weeks ago I

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-18 Thread Benjamin Root
On Saturday, February 18, 2012, Tony Yu wrote: > > > On Tue, Feb 14, 2012 at 12:49 PM, Olе Streicher > 'ole-usenet-s...@gmx.net');> > > wrote: > >> Jerzy Karczmarczuk >> > 'jerzy.karczmarc...@unicaen.fr');>> writes: >> > Could you provide a /working/ example with the geometry you really want? >>

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 12:26 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 07:17 AM, Michael Rawlins wrote: > > A couple weeks ago I i

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-18 Thread Tony Yu
On Tue, Feb 14, 2012 at 12:49 PM, Olе Streicher wrote: > Jerzy Karczmarczuk > writes: > > Could you provide a /working/ example with the geometry you really want? > > I believe I thought more or less about it as Tony Yu did. If it is > > wrong, be more precise, please. > > I have a data set that

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Eric Firing
On 02/18/2012 07:17 AM, Michael Rawlins wrote: > > A couple weeks ago I installed version 1.2 from sources, as described here: > > http://matplotlib.sourceforge.net/users/installing.html > > I'm running Ubuntu 10.04 LTS. Everything was working fine. Looks like > numpy version 1.3 in place. A few mi

[Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
A couple weeks ago I installed version 1.2 from sources, as described here: http://matplotlib.sourceforge.net/users/installing.html I'm running Ubuntu 10.04 LTS.  Everything was working fine.  Looks like numpy version 1.3 in place. A few minutes ago I installed python-scipy from the Ubuntu Sy

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Benjamin Root
On Saturday, February 18, 2012, Jerzy Karczmarczuk wrote: > Saurav Pathak : > > I am trying to generate key press events in matplotlib (imshow) embedded > > in pyqt4, but I am getting nowhere. > Yes, another victim... > > My small animation test program > > http://users.info.unicaen.fr/~karczma/TE

Re: [Matplotlib-users] Dynamically adjusting the color scale in NonUniformImage

2012-02-18 Thread Ray Osborn
You're exactly right. That does fix it. Unfortunately, it means I have to refactor some of my code because the Pyside slot doesn't currently have access to the original data, but that's not a huge deal. Thanks, Ray On Feb 18, 2012, at 4:35 AM, Jerzy Karczmarczuk wrote: > Ray Osborn: >> >> OK

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Jerzy Karczmarczuk
Saurav Pathak : > I am trying to generate key press events in matplotlib (imshow) embedded > in pyqt4, but I am getting nowhere. Yes, another victim... My small animation test program http://users.info.unicaen.fr/~karczma/TEACH/Test/isingVZ.py run under Windows XP / Python 2.7, shows the followi

[Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Saurav Pathak
Hi, I am trying to generate key press events in matplotlib (imshow) embedded in pyqt4, but I am getting nowhere. My code is given below. Even though the imshow seems to work OK, there is no response when I press keys. I am using an mpl_connect self.canvas.mpl_connect('key_press_event', se

Re: [Matplotlib-users] Dynamically adjusting the color scale in NonUniformImage

2012-02-18 Thread Jerzy Karczmarczuk
Ray Osborn: OK - it turns out I can reproduce it in a simple ipython session using ipython --pylab=qt. I set up an image plot as follows: import numpy as np import matplotlib.pyplot as plt from matplotlib.image import NonUniformImage x=y=np.linspace(0,2*np.pi,101) X,Y=np.meshgrid(x,y) z=sin(X