Re: [Matplotlib-users] plot swaps axes specified with extent

2006-07-29 Thread Eric Firing
Stefan van der Walt wrote: > On Thu, Jul 27, 2006 at 08:57:47PM -0400, PGM wrote: > >>>Is this normal? If so, how do I get around the problem? I also >>>noticed that, even without extents, the image gets scaled after >>>plotting. >> >>Try to set the "_autoscale" parameter of your current 'axes' t

Re: [Matplotlib-users] polygon bug

2006-07-29 Thread Eric Firing
Nick, svn 2635 has a fix for this bug. Eric Nick Fotopoulos wrote: > Dear matplotlib-users, > > I'd like to report a bug in Polygon, which is crashing with an > unhelpful error message where an exception would be appropriate. The > problem occurs when you feed Polygon an Nx2 array instead

Re: [Matplotlib-users] polygon bug

2006-07-29 Thread Eric Firing
Nick, Thanks for the bug report. I have been making some changes to use numerix more consistently internally, and fixing this bug would be a step in that direction. I will take a look. Eric Nick Fotopoulos wrote: > Dear matplotlib-users, > > I'd like to report a bug in Polygon, which is cra

[Matplotlib-users] polygon bug

2006-07-29 Thread Nick Fotopoulos
Dear matplotlib-users, I'd like to report a bug in Polygon, which is crashing with an unhelpful error message where an exception would be appropriate. The problem occurs when you feed Polygon an Nx2 array instead of an N- length list of 2-tuples. This is on my PPC OSX system, with everyth

Re: [Matplotlib-users] dates fail after upgrade

2006-07-29 Thread John Hunter
> "PGM" == PGM <[EMAIL PROTECTED]> writes: PGM> Richard, in matplotlib/dates.py, change line 155 from PGM> remainder = x - ix to remainder = float(x) - ix Thanks for th tip -- I'll commit this to svn. JDH - Tak

Re: [Matplotlib-users] dates fail after upgrade

2006-07-29 Thread PGM
On Friday 28 July 2006 17:19, Richard Ruth wrote: > I upgraded to matplotlib-0.87.4 Now I receive an error like the following > every time I try to use matplotlib.dates. The following error messages > were generated when I tried to run matplotlib-0.87.4/examples/date_demo1.py > > Any Idea on how

Re: [Matplotlib-users] Pixel placement of text

2006-07-29 Thread Jouni K Seppanen
[I'm Cc:ing people since the mailing list forwarder seems to be working really slowly.] Hi Bill, > You can even throw all the magic into one function like this: > > def const_offset(x,y): [...] > > And then just add a transform=const_offset(x,y) parameter wherever > you want one. This will

Re: [Matplotlib-users] Legend, Axis-Title and umlaut and special characters

2006-07-29 Thread Jouni K Seppanen
Till Wagner <[EMAIL PROTECTED]> writes: > The program should be localized to german, frensh, italian and > spanish, so the names can include some umlauts and special > characters (like ä, ü, ö, ß, ß, é and so on). In my program it works > well, but in the matplotlib-graphs are only squares where t

Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
It can't find tk.h so it looks like you need to install the tk dev packages. On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Here is the output of an attempt to install 0.87.4 with tkagg. > > It installs fine without it. > > > Any ideas will be appreciated. > > TIA, > -sen > > compile

Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1
Here is the output of an attempt to install 0.87.4 with tkagg. It installs fine without it. Any ideas will be appreciated. TIA, -sen compile options: '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/local/include -I/usr/include -I. -I/ usr

Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > OK, I was able to install with 0.87.4 (still no tkagg, however). What's the error you are getting with tk? Do you have the dev packages installed? > This is still with the tar.gz version of numpy-1.0b > > I will try to re-install numpy

Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1
I got the numpy src.rpm from www.numpy.org On Fri, 28 Jul 2006, Asheesh Laroia wrote: > On Thu, 27 Jul 2006, [EMAIL PROTECTED] wrote: > >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have been >> added. > > Well, something in the build system thinks something is missing. So

Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1
OK, I was able to install with 0.87.4 (still no tkagg, however). This is still with the tar.gz version of numpy-1.0b I will try to re-install numpy from the rpms to see if that makes a difference. -sen BTW You guys are great! I love the way you got to my questions so fast. Reminds me of the o

Re: [Matplotlib-users] Pixel placement of text

2006-07-29 Thread Bill Baxter
Hey that's great. Thanks Jouni. There may be a better way, but this is at least a lot easier to figure out than the code in QuiverKey! You can even throw all the magic into one function like this: def const_offset(x,y): ax = gca() ll1 = ax.transData.get_bbox1().ll() ur1 = ax.transData.

Re: [Matplotlib-users] Plotting in West Longitude

2006-07-29 Thread Jeff Whitaker
Jeff Sadino wrote: > Hello All, > > I am trying to map the surface of TItan for a summer internship project at > NASA. I would like to use matplotlib to plot, but I need to plot in West > Longitude, where the left edge of the graph starts at 360 and the right edge > ends at 0. Does anyone know

[Matplotlib-users] dates fail after upgrade

2006-07-29 Thread Richard Ruth
I upgraded to matplotlib-0.87.4  Now I receive an error like the following every time I try to use matplotlib.dates.  The following error messages were generated when I tried to run matplotlib-0.87.4/examples/date_demo1.pyAny Idea on how I can get dates working again?(I am running the 2.6.17.6 kern