Re: [Matplotlib-users] toolbar

2010-03-28 Thread Peter Butterworth
I've done a few minor enhancements and corrections to the qt4_editor (interactive plot options popup). Should I submit them to matplotlib or directly to the original author Pierre Raybaut ? What plot options do you think can be added to the qt4_editor ? I've added a basic Legend option to the Axes

Re: [Matplotlib-users] toolbar

2010-03-21 Thread Philippe Crave
without the svn version, you can save both files. edit figureoptions.py to modify the import: #import matplotlib.backends.qt4_editor.formlayout as formlayout import formlayout then, you can attach the nice dialog box to a Event, something like that works: import matplotlib.pyplot as plt import nu

Re: [Matplotlib-users] toolbar

2010-03-20 Thread Peter Butterworth
Correction: '0.99.3rc1' does not include the qt4_editor code, so you do need to get the source files from svn. The feature is a nice addition to matplotlib.. On Sun, Mar 21, 2010 at 1:53 AM, Gökhan Sever wrote: > > > On Sat, Mar 20, 2010 at 7:43 PM, wrote: >> >> I'm using the recent '0.99.3rc1

Re: [Matplotlib-users] toolbar

2010-03-20 Thread Gökhan Sever
On Sat, Mar 20, 2010 at 7:43 PM, wrote: > I'm using the recent '0.99.3rc1' which does include the qt4_editor code. > If you have the qt4_editor code within your installation you are good to go then. Just create a new plot while the Qt4Agg backend is pre-selected you should have an additional ic

Re: [Matplotlib-users] toolbar

2010-03-20 Thread butterw
I'm using the recent '0.99.3rc1' which does include the qt4_editor code. Should the new toolbar just appear when you open a plot or is specific code needed to call it ? Le , Gökhan Sever a écrit : On Sat, Mar 20, 2010 at 6:06 PM, butterw butt...@gmail.com> wrote: Is there an minimal

Re: [Matplotlib-users] toolbar

2010-03-20 Thread Gökhan Sever
On Sat, Mar 20, 2010 at 6:06 PM, butterw wrote: > > Is there an minimal example file available showing how to activate this new > plot toolbar ? > > changing the backend to Qt4Agg apparently is not sufficient. > > You need to install matplotlib from the svn trunk. http://matplotlib.sourceforge.n

Re: [Matplotlib-users] toolbar

2010-03-20 Thread butterw
Is there an minimal example file available showing how to activate this new plot toolbar ? changing the backend to Qt4Agg apparently is not sufficient. Gökhan SEVER-2 wrote: > > Hi Pierre Raybaut a nice extension for what you are asking. You will need > to > use Qt4Agg backend to use it. The

Re: [Matplotlib-users] toolbar

2010-03-18 Thread Gökhan Sever
On Thu, Mar 18, 2010 at 7:01 AM, Philippe Crave wrote: > Hello, > > the following will display a figure with a plot. the figure will embed > the classic toolbar. > > import matplotlib.pyplot as plt > import numpy as np > x=np.arange(0, 1, 0.1) > fig = plt.figure() > ax = fig.add_subplot(111) > ax.

[Matplotlib-users] toolbar

2010-03-18 Thread Philippe Crave
Hello, the following will display a figure with a plot. the figure will embed the classic toolbar. import matplotlib.pyplot as plt import numpy as np x=np.arange(0, 1, 0.1) fig = plt.figure() ax = fig.add_subplot(111) ax.plot(x) plt.show() from there, is it possible to add new buttons to the too

[Matplotlib-users] Toolbar in QT

2008-05-09 Thread Behnam Kamrani
Hi, First I want to thanks for this amazing Matplotlib. It's fantastic! My newbie question is how I can show the (zoom, pan, etc) toolbar in embedding_in_qt.py example? I have noticed that in animation_blit_qt.py the toolbar is available, but it seems to be done in a different way. Appreciate yo

Re: [Matplotlib-users] Toolbar in QT

2008-05-08 Thread Ted Drain
together (I forget exactly how but backend_qt.py has all the code that does this) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Behnam Kamrani Sent: Thursday, May 08, 2008 11:19 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Toolbar in QT Hi, First

[Matplotlib-users] Toolbar in QT

2008-05-08 Thread Behnam Kamrani
Hi, First I want to thanks for this amazing Matplotlib. It's fantastic! My newbie question is how I can show the (zoom, pan, etc) toolbar in embedding_in_qt.py example? I have noticed that in animation_blit_qt.py the toolbar is available, but it seems to be done in a different way. Appreciate yo

[Matplotlib-users] Toolbar formating with keyboard

2008-04-06 Thread Alexandre Zabot
Hi, In the example below I can make the cursor snap over the nearest point with the mouse and also move the cursor with the keyboard. But I can't print the coordinates in the toolbar when the I move the cursor with the keyboard as when I move with the mouse! Does anyone have an idea? Cheers, Ale