[matplotlib-devel] Plots shifted up or to the left a pixel or so

2010-06-10 Thread Jason Grout
Hi all, If you zoom in to the origin in the following figure: fig = plt.figure() ax = fig.add_subplot(1,1,1, aspect='equal') ax.plot([-1,1],[-1,1], color='blue') ax.set_xlim(-1.1,1.1) ax.set_ylim(-1.1,1.1) ax.spines['left'].set_position('zero') ax.spines['right'].set_color('none') ax.spines['bott

Re: [matplotlib-devel] [Matplotlib-users] Basemap r8403 and numpy 2.0

2010-06-10 Thread Benjamin Root
Actually, I just noticed this problem myself after upgrading my system to Fedora 13. Turns out I still had some *.so files in the lib directory that were not getting updated by the Make (might be a dependency issue?), and they weren't getting eliminated by a 'clean' command. Therefore, the old .s

Re: [matplotlib-devel] [Matplotlib-users] Basemap r8403 and numpy 2.0

2010-06-10 Thread Jeff Whitaker
On 6/10/10 11:50 AM, Pierre GM wrote: > On Jun 10, 2010, at 1:30 PM, Christoph Gohlke wrote: > >> >> On 6/10/2010 10:14 AM, Pierre GM wrote: >> >>> On Jun 10, 2010, at 12:51 PM, Jeff Whitaker wrote: >>> On 6/10/10 10:40 AM, Pierre GM wrote: > All, > Sor

Re: [matplotlib-devel] [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-10 Thread Jae-Joon Lee
On Thu, Jun 10, 2010 at 1:13 PM, Benjamin Root wrote: > Taking out adjustable='box' had the same effect for me as setting > adjustable='box-forced Just a quick comment. As you can verify, the axes created with AxesGrid will have adjustable="datalim". With AxesGrid, the size of each axes is adjust

Re: [matplotlib-devel] [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-10 Thread Jeff Whitaker
On 6/10/10 11:13 AM, Benjamin Root wrote: On Thu, Jun 10, 2010 at 11:56 AM, Jeff Whitaker > wrote: On 6/10/10 10:41 AM, Benjamin Root wrote: On Thu, Jun 10, 2010 at 11:05 AM, Jeff Whitaker mailto:jsw...@fastmail.fm>> wrote: On 6/9/10 1:58 PM,

Re: [matplotlib-devel] [Matplotlib-users] Basemap r8403 and numpy 2.0

2010-06-10 Thread Jeff Whitaker
On 6/10/10 11:14 AM, Pierre GM wrote: > On Jun 10, 2010, at 12:51 PM, Jeff Whitaker wrote: > >> On 6/10/10 10:40 AM, Pierre GM wrote: >> >>> All, >>> Sorry, it's been a while since I've been using Basemap. I was just trying >>> to update my local svn directory to r8403 and reinstall base

Re: [matplotlib-devel] [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-10 Thread Benjamin Root
On Thu, Jun 10, 2010 at 11:56 AM, Jeff Whitaker wrote: > On 6/10/10 10:41 AM, Benjamin Root wrote: > > > > On Thu, Jun 10, 2010 at 11:05 AM, Jeff Whitaker wrote: > >> On 6/9/10 1:58 PM, Benjamin Root wrote: >> >> Has anybody given any further thought to the implication of having Basemap >> set

Re: [matplotlib-devel] Basemap r8403 and numpy 2.0

2010-06-10 Thread Jeff Whitaker
On 6/10/10 10:40 AM, Pierre GM wrote: > All, > Sorry, it's been a while since I've been using Basemap. I was just trying to > update my local svn directory to r8403 and reinstall basemap, but an import > fail w/ the following message: > """ > Traceback (most recent call last): >File "", line

[matplotlib-devel] Basemap r8403 and numpy 2.0

2010-06-10 Thread Pierre GM
All, Sorry, it's been a while since I've been using Basemap. I was just trying to update my local svn directory to r8403 and reinstall basemap, but an import fail w/ the following message: """ Traceback (most recent call last): File "", line 1, in File "~/basemap-dev/lib/mpl_toolkits/basemap

Re: [matplotlib-devel] Patch/fix for two legend oddities/bugs

2010-06-10 Thread Jae-Joon Lee
On Wed, Jun 9, 2010 at 7:15 PM, Erik Tollerud wrote: > Jae-Joon, your patch looks to be effectively the same except for > slightly different behavior when more than 3 points are present... but > that was what was originally intended - the numpoints-> scatterpoints > was a good catch! I'm not sure

Re: [matplotlib-devel] [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-10 Thread Jae-Joon Lee
On Wed, Jun 9, 2010 at 6:22 PM, Eric Firing wrote: > Jeff can correct me if I am wrong, but I think adjustable='box' is > essential for basemap because the maximum data limits are set when the > Basemap instance is created.  In some cases the characteristics of the > projection, and in all cases t

Re: [matplotlib-devel] Solaris bugfix in ttconv/pprdrv_tt2.cpp

2010-06-10 Thread Jason Grout
On 6/10/10 7:01 AM, Jason Grout wrote: In http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg05423.html, I reported a patch that Sage uses for matplotlib on Solaris. Notice below that only one line is changed. ---

[matplotlib-devel] Solaris bugfix in ttconv/pprdrv_tt2.cpp

2010-06-10 Thread Jason Grout
In http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg05423.html, I reported a patch that Sage uses for matplotlib on Solaris. Notice below that only one line is changed. ---