Stephen Walton | 1 Jun 01:55 2005

Re: pylab set function in python 2.4

Ken McIvor wrote:

>     http://agni.phys.iit.edu/~kmcivor/potpourri/wxmpl-demos.py

An interesting looking script.  But 'import wxmpl' fails on my system 
(MPL V0.80).  Am I missing something?

As an aside, it would be nice if a demo/tutorial script like this could 
be made backend-independent.  I normally use TkAgg in preference to WX 
or WXAgg.

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Fernando Perez | 1 Jun 02:26 2005
Picon

Re: pylab set function in python 2.4

Stephen Walton wrote:
 > Ken McIvor wrote:
 >
 >
 >>    http://agni.phys.iit.edu/~kmcivor/potpourri/wxmpl-demos.py
 >
 >
 > An interesting looking script.  But 'import wxmpl' fails on my system
 > (MPL V0.80).  Am I missing something?

http://agni.phys.iit.edu/~kmcivor/wxmpl/

(a bit of poking around recursively up his directories :)

Best,

f

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Ken McIvor | 1 Jun 03:01 2005

Re: pylab set function in python 2.4

On May 31, 2005, at 6:55 PM, Stephen Walton wrote:
> Ken McIvor wrote:
>>     http://agni.phys.iit.edu/~kmcivor/potpourri/wxmpl-demos.py
>
> An interesting looking script.  But 'import wxmpl' fails on my system 
> (MPL V0.80).  Am I missing something?

It's missing the `wxmpl' module, a library for rapidly embedding 
matplotlib in wxPython.  I have not yet had the gumption to proselytize 
it.  I hadn't intended for people to try to run the whole script, just 
to look at the plot_XZY() functions.

> As an aside, it would be nice if a demo/tutorial script like this 
> could be made backend-independent.  I normally use TkAgg in preference 
> to WX or WXAgg.

All of the aforementioned plot_XZY() functions accept a Figure as their 
only argument and draw their plots onto the figure, so they're already 
backend independent.  I have attached a script which uses 
`pylab.figure()' to handle the creation of the Figure and associated 
FigureCanvas.  Run it from the command line, and it will present you 
with a list of demos.  If your matplotlibrc isn't setup for interactive 
plotting via wxPython, Tkinter, or GTK you'll need to specify an 
appropriate backend to use:

	$ python oo-demos.py -dWXAgg

Ken
Attachment (oo-demos.py): application/octet-stream, 8 KiB
(Continue reading)

Darren Dale | 1 Jun 04:26 2005
Picon

Qt figure size

I have a question about figure size in pylab, which presently includes the 
toolbar. I think figure(figsize=(3,3)) should create a 3x3in plot window, and 
append the toolbar below it. The effect is more noticeable on the QtAgg and 
WXAgg backends, where the coordinates are reported below the toolbar. Is this 
a bug or a feature? 

Darren
Ken McIvor | 1 Jun 04:37 2005

Re: OSX 10.3 Installer Package for Matplotlib 0.80

On May 31, 2005, at 2:37 PM, Chris Barker wrote:
> great! thanks for picking up the mantle on this. I'd been meaning to 
> get to it, but you know how it is.

Thank you for providing such excellent information on the build 
process.  Picking up where you left off was a snap.

> Does this version work with TK? I can't remember what I put in the 
> notes with the one I sent out.

No, I didn't have Tk installed at the time.  I'll remedy that situation 
and put up a new installer package in the same place.

Ken

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
N. Volbers | 1 Jun 07:29 2005
Picon

Re: Re: [pygtk] Gtk.Notebook problem in PyGTK 2.6

dimitri pater schrieb:

> Yes, this could could very well be a matplotlib issue. I will try to 
> do some tests, thanks for cc'ing it to the matplotlib list.
>
> Dimitri
>
> On 5/31/05, *John Gill* <jng@... 
> <mailto:jng@...>> wrote:
>
>     I think this might be a matplotlib issue.
>
>     I've been having some refresh issues with matplotlib since
>     switching to 2.6.  In particular I've noticed that if I put my
>     mouse over the toolbar and let a tooltip pop up the canvas does
>     not get repainted.
>
>     Up to now I'd been assuming this problem was isolated to me (I use
>     ratpoison as a window manager, which can confuse some apps).
>
>     I've cc'ed the matplotlib list in case anyone can throw some light
>     on this.
>
>     John
>
>     dimitri pater wrote:
>
>>     Hello,
>>     I upgraded to PyGTK 2.6 from 2.4 . Now, when I switch from page 2
>>     on a Gtk.Notebook back to page 1, page 1 still shows some
(Continue reading)

N. Volbers | 1 Jun 08:59 2005
Picon

picking objects

Hello everyone,

I am trying to implement object picking in my matplotlib-based
plotting application.  I found two examples.  The 'picker_demo.py'
demo is very nice and looks a lot simpler than the 'object_picker.py'
which requires you to use your own Canvas object.  But since
object_picker needs to have the event.inaxes object, it seems
impossible to catch any events outside the axes' bounding box, like
'click on axes title', or 'click on ticks' or 'click on xlabel'.

Is there any possibility to do so ?

BTW, is it possible to detect double-clicks?

Best regards,

Niklas.

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
N. Volbers | 1 Jun 11:44 2005
Picon

Double Buffering (was: Gtk.Notebook problem in PyGTK 2.6)


[...]

>> On 5/31/05, *John Gill* <jng@... 
>> <mailto:jng@...>> wrote:
>>
>>     I think this might be a matplotlib issue.
>>
>>     I've been having some refresh issues with matplotlib since
>>     switching to 2.6.  In particular I've noticed that if I put my
>>     mouse over the toolbar and let a tooltip pop up the canvas does
>>     not get repainted.
>>
>>     Up to now I'd been assuming this problem was isolated to me (I use
>>     ratpoison as a window manager, which can confuse some apps).
>>
>>     I've cc'ed the matplotlib list in case anyone can throw some light
>>     on this.
>>
>>     John
>>
[...]

> I can confirm this (mis)behaviour with matplotlib 0.80 and gtk+/pygtk 
> 2.6.  I had wanted to look into this matter, but didn't yet have time 
> to do it.  A simple guess would be that the expose-event is not 
> handled properly by the GTK backend.
>
> I noticed the problem when I put a menu-bar over a matplotlib GTK 
> Canvas.  When you leave an opened menu, the menu will not disappear.
(Continue reading)

dimitri pater | 1 Jun 13:38 2005
Picon

Re: [Matplotlib-users] Re: Gtk.Notebook problem in PyGTK 2.6

I made a small test app which clearly shows that Matplotlib 0.8 and PyGTK 2.6 don't work well together. No problem in PyGTK 2.4

bye,
Dimtiri

On 6/1/05, N. Volbers <mithrandir42 <at> web.de> wrote:
dimitri pater schrieb:

> Yes, this could could very well be a matplotlib issue. I will try to
> do some tests, thanks for cc'ing it to the matplotlib list.
>
> Dimitri
>
> On 5/31/05, *John Gill* < jng <at> europe.renre.com
> <mailto:jng <at> europe.renre.com>> wrote:
>
>     I think this might be a matplotlib issue.
>
>     I've been having some refresh issues with matplotlib since
>     switching to 2.6.  In particular I've noticed that if I put my
>     mouse over the toolbar and let a tooltip pop up the canvas does
>     not get repainted.
>
>     Up to now I'd been assuming this problem was isolated to me (I use
>     ratpoison as a window manager, which can confuse some apps).
>
>     I've cc'ed the matplotlib list in case anyone can throw some light
>     on this.
>
>     John
>
>     dimitri pater wrote:
>
>>     Hello,
>>     I upgraded to PyGTK 2.6 from 2.4 . Now, when I switch from page 2
>>     on a Gtk.Notebook back to page 1, page 1 still shows some
>>     elements from page 2 (it is not refreshed, just some parts). Both
>>     pages contain graphs created with Matplotlib. I never had
>>     problems like this with 2.4...
>>     Any clues somebody? If necessary, I will attach the source files.
>>
>>     Best regards,
>>     Dimitri
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>pygtk mailing list
>>pygtk <at> daa.com.au <mailto:pygtk <at> daa.com.au >
>>http://www.daa.com.au/mailman/listinfo/pygtk
>>Read the PyGTK FAQ:
>>http://www.async.com.br/faq/pygtk/
>>
>>
>
>
>
> --
> Please visit dimitri's website: www.serpia.com <http://www.serpia.com>

I can confirm this (mis)behaviour with matplotlib 0.80 and gtk+/pygtk
2.6.  I had wanted to look into this matter, but didn't yet have time to
do it.  A simple guess would be that the expose-event is not handled
properly by the GTK backend.

I noticed the problem when I put a menu-bar over a matplotlib GTK
Canvas.  When you leave an opened menu, the menu will not disappear.

Niklas.








--
Please visit dimitri's website: www.serpia.com
Attachment (testMPL-GTK.py): application/x-python, 2472 bytes
Attachment (project1.glade): application/octet-stream, 9 KiB
_______________________________________________
pygtk mailing list   pygtk <at> daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Jeff Whitaker | 1 Jun 14:09 2005

pyepix backend?


Has anybody considered writing a epix backend using pyepix? 
(http://claymore.engineer.gvsu.edu/~steriana/Python/pyepix/index.html).

A cursory inspection shows that it might solve many of the problems with 
mathematical typesetting that the psfrag backend was invented to solve.

-Jeff

--

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

Gmane