[Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Jeff Peery
hello, I am having some difficulty. I just upgraded to matplotlib 0.9, wxpython 
2.7.2, and python 2.5. I have a wx application that uses matplotlib wxagg 
backend and wxpython for the GUI, it was working wonderfully unitl I upgraded 
now it crashes all the time and I can't even debug it because python IDLE 
freezes up. should these versions all be working together ok? or should I use 
an earlier version of wxpython? thanks.
   
  Jeff

 
-
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Werner F. Bruhin
Hi Jeff,

Jeff Peery wrote:
 hello, I am having some difficulty. I just upgraded to matplotlib 0.9, 
 wxpython 2.7.2, and python 2.5. I have a wx application that uses 
 matplotlib wxagg backend and wxpython for the GUI, it was working 
 wonderfully unitl I upgraded now it crashes all the time and I can't 
 even debug it because python IDLE freezes up. should these versions 
 all be working together ok? or should I use an earlier version of 
 wxpython? thanks.
Matplotlib 0.9 is still build against wxPython 2.6 and it is using the 
Unicode build of it.

But I am surprised that you see crashes.  I did a little bit of testing 
with wxPython 2.8, Python 2.5 and matplotlib 0.9 using the examples for 
matplotlib and did not see hard crashes (see the thread on the 14th).

Do you get any log file, are you seeing the crash when your app is py2exe'd?

Aren't there some conflicts between IDLE and wxPython?

Werner

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Ken McIvor
On Feb 22, 2007, at 3:30 AM, Werner F. Bruhin wrote:
 Jeff Peery wrote:

 hello, I am having some difficulty. I just upgraded to matplotlib  
 0.9,
 wxpython 2.7.2, and python 2.5.

I could be mistaken, but my understanding is that the odd versions of  
wxWidgets and wxPython are development versions.  You should consider  
moving to version 2.6, although 2.8 ought to work if you don't mind  
helping us work the kinks out.

 Aren't there some conflicts between IDLE and wxPython?

I think there are if you try to run your wxPython application from  
within IDLE.  IPython might be an alternative for interactive  
testing, etc.

Ken



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Number of figures opened

2007-02-22 Thread Manuel Malo de Molina
Hi everyone,

Simple question: Is there any way to know how many figures are there
opened in a moment?

You know, so the program doesn't draw over an existing one, just
creates a new figure.


Thanks!

Greetings,
Manuel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Ken McIvor
On Feb 22, 2007, at 10:39 AM, Jeff Peery wrote:

 So it works ok when I execute my wxApp from boa, but it acts  
 strange then locks up when I run it from the IDLE???

Yep.  It's a result of the way programs like Boa and IDLE are  
written.  In general, you can't mix and match GUI libraries (e.g.  
wxPython and Tkinter) without heroic measures.

 Since I'm using matplotlib and wxpython, should I be using  
 wxpython2.6? If so where can I get teh wxpython2.6 windows  
 installer? I looked at sourceforge and the oldest version is 2.7.

Right now you'll probably be happiest using 2.6.  You can download  
the win32 installer from http://www.wxpython.org/download.php

Hopefully the 0.91 release will include some improvements I'm working  
on, but haven't committed yet.  At that point wxPython 2.8 will  
(hopefully) become the best choice for win32.

 thanks again for teh help!

You are teh welcome!

Ken

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Controlling vertical space between subplots

2007-02-22 Thread kc106_2005-matplotlib
Hi list,

I have a figure of 3 rows by 2 col of plots.  I have a need to use 2 line 
xlabels for each of the subplots.  So I did something like:

xlabel(Label 1\nLine 2)

for each of the subplots.

However when I do that, the 2nd line is lost for the top 4 subplots because I 
don't have enough vertical spaces between them.   I tried something like:

subplots_adjust(hspace=0.4)

but it didn't seem to have any effect (I also tried different values for hspace 
- no effect at all).

What am I doing wrong?

I also have too much white space on the left and right side of the page and I 
tried to reduce that using the subplots_adjust function but it didn't seem to 
be doing what I want.  I am sure I am not understanding something about 
subplots_adjust.

Could some one please clarify it (or point me to the right direction)?

Thanks,



 
--
John Henry



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Controlling vertical space between subplots

2007-02-22 Thread kc106_2005-matplotlib
Please ignore this message.  I discovered the subplot_toolbar.py example which 
helped me figure out what I did wrong.

Thanks
 
--
John Henry

- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: matplotlib-users@lists.sourceforge.net
Sent: Thursday, February 22, 2007 3:15:02 PM
Subject: Controlling vertical space between subplots

Hi list,

I have a figure of 3 rows by 2 col of plots.  I have a need to use 2 line 
xlabels for each of the subplots.  So I did something like:

xlabel(Label 1\nLine 2)

for each of the subplots.

However when I do that, the 2nd line is lost for the top 4 subplots because I 
don't have enough vertical spaces between them.   I tried something like:

subplots_adjust(hspace=0.4)

but it didn't seem to have any effect (I also tried different values for hspace 
- no effect at all).

What am I doing wrong?

I also have too much white space on the left and right side of the page and I 
tried to reduce that using the subplots_adjust function but it didn't seem to 
be doing what I want.  I am sure I am not understanding something about 
subplots_adjust.

Could some one please clarify it (or point me to the right direction)?

Thanks,



 
--
John Henry






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] setting the default line style order

2007-02-22 Thread Brian Blais
Hello,

I poked around a bit, and couldn't find the answer to this.  Is there a way to 
specify the default order of line colors and styles, for plot commands given in 
sequence, like:

plot(x1,y1)
plot(x2,y2)
plot(x3,y3)



thanks,


Brian Blais

-- 
-

  [EMAIL PROTECTED]
  http://web.bryant.edu/~bblais


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users