Re: [Matplotlib-users] Need some help adjusting placement of colorbar in basemap-derived graphic

2008-12-17 Thread Roger André
Hi Jeff, Thanks very much for this bit of code that you sent me. I got some graph paper out and plotted all of the axes in your code and it finally all made sense. Roger -- On Fri, Dec 12, 2008 at 3:50 PM, Roger André ran...@gmail.com wrote: Thanks Jeff, I'll study your code and will see

Re: [Matplotlib-users] FancyArrowPatch without annotate

2008-12-17 Thread Ken Schutte
On Wed, Dec 17, 2008 at 1:07 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Wed, Dec 17, 2008 at 9:09 AM, Ken Schutte kts.li...@gmail.com wrote: On Wed, Dec 17, 2008 at 1:49 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: This is a correct way indeed. I believe that you considered it as a

Re: [Matplotlib-users] Falling over the edge of the world

2008-12-17 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear Jeff ALL, When trying to plot a set of points in Basemap using an Equirectangular projection centered on a longitude different from the default (using the parameter lon_0 to generate a map centered on the desired longitude), I end up with a stange plot like the

Re: [Matplotlib-users] Falling over the edge of the world

2008-12-17 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/17 Jeff Whitaker jsw...@fastmail.fm: Mauro: Say you create a cylindrical basemap with lon_0=180. The longitudinal extent of the map will be lon=0 to lon=360. If you then plot a point with a longitude of -60, it will be off the map to the left (similar to what your

Re: [Matplotlib-users] FancyArrowPatch without annotate

2008-12-17 Thread Ken Schutte
On Wed, Dec 17, 2008 at 1:49 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: This is a correct way indeed. I believe that you considered it as a plain line because the arrow head is too small. You need to adjust the mutation_scale parameter. Try c = matplotlib.patches.FancyArrowPatch((0.2,

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-17 Thread Matthias Michler
Hello John and others, my favorite solution is: * axes param: specific for a given axes in figure; interface would be something like ax.auto_toolbar_keys(False) Which would be really helpful in case an axes belongs to a button (slider, ...), where logarithmic scaling or a grid are not of

[Matplotlib-users] bad keys in event.key

2008-12-17 Thread James Schombert
Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback Traceback (most recent call last): File

Re: [Matplotlib-users] figimage and image magnification (was: imshow with pdf)

2008-12-17 Thread John Hunter
On Mon, Dec 15, 2008 at 2:44 PM, John Hunter jdh2...@gmail.com wrote: I am not sure what figimage should mean for a vector backend so I want to hear from Perry who motivated the function. When I implemented it on his original request, I understood it to be a raw pixel dump to the canvas with

Re: [Matplotlib-users] bad keys in event.key

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 1:24 PM, James Schombert jscho...@uoregon.edu wrote: Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 12:22 PM, Matthias Michler matthiasmich...@gmx.net wrote: Hello John and others, my favorite solution is: * axes param: specific for a given axes in figure; interface would be something like ax.auto_toolbar_keys(False) This is on my list of things to do JDH

[Matplotlib-users] [Fwd: Matplotlib 0.98.5 egg on Mac OS X : Install Problem]

2008-12-17 Thread Kaushik Ghose
Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Thanks -Kaushik sudo easy_install

[Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem

2008-12-17 Thread Kaushik Ghose
Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Thanks -Kaushik sudo easy_install

Re: [Matplotlib-users] [Fwd: Matplotlib 0.98.5 egg on Mac OS X : Install Problem]

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 2:29 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: I posted binaries to fix this problem and have

Re: [Matplotlib-users] Bug in ubuntu intrepid

2008-12-17 Thread Alejandro Weinstein
On Mon, Dec 15, 2008 at 11:22 AM, Alejandro Weinstein alejandro.weinst...@gmail.com wrote: Is anybody aware of the MPL bug on Ubuntu intrepid? https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/299381 The problem is caused by outdated *.pyc files. The solution is sudo python -c 'import

Re: [Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 2:32 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Did you miss my repeated posts on this subject,

Re: [Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem

2008-12-17 Thread Kaushik Ghose
Heh, Sorry. Thanks for the link though and Happy Holidays! -Kaushik John Hunter wrote: On Wed, Dec 17, 2008 at 2:32 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much

[Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg

2008-12-17 Thread Kaushik Ghose
Hi John, The install goes fine, but I come up blank on the import. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* ++ sudo installer

[Matplotlib-users] Error with matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg

2008-12-17 Thread Kaushik Ghose
Hi John, I tried the .egg package but no joy. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* sudo

Re: [Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 4:43 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi John, The install goes fine, but I come up blank on the import. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib*

Re: [Matplotlib-users] Error with matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 4:50 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi John, I tried the .egg package but no joy. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib*

Re: [Matplotlib-users] bad keys in event.key

2008-12-17 Thread James Schombert
I downloaded keypress_demo.py from the matplotlib website runs as follows ./keypress_demo.py (then typed letter 'c') Exception in Tkinter callback Traceback (most recent call last): File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py, line 1403, in

Re: [Matplotlib-users] Error with matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg

2008-12-17 Thread Kaushik Ghose
Yess! The renaming works. Would simply changing the name of the file on sourceforge solve this problem? That would be so odd! Thanks -Kaushik $mv matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg matplotlib-0.98.5-py2.5.egg $ sudo easy_install matplotlib-0.98.5-py2.5.egg Password: Processing

Re: [Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg

2008-12-17 Thread Kaushik Ghose
Hi John, This is odd. After successfully installing the egg (last post) and then removing it by doing sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* I now get sudo installer -pkg matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg -target /

Re: [Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg

2008-12-17 Thread Chris.Barker
Kaushik Ghose wrote: Hi John, This is odd. After successfully installing the egg (last post) and then removing it by doing sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* I now get sudo installer -pkg