I use TkAgg on win32, and saw the line on screen and in png and eps files.
I tried nudging it, but that didn't work either.
So I tried the following overlap and still saw the line:
a = ones((10,10))
imshow(a,extent=(0.0,11.0,0.0,10.0))
imshow(a,extent=(10.0,20.0,0.0,10.0))
axis((0,20,0,10))

So I figured it had to do with the interpolation.
I used the default interpolation ('bilinear').
When I do the above overlap with interpolation set to 'nearest', I don't get
the line!

What interpolation were you using?

Thanks for your help,

Mark


On 8/21/07, Eric Firing <[EMAIL PROTECTED]> wrote:
>
> Mark,
>
> What backend?  I don't see it when I run your lines in ipython -pylab,
> with gtkagg in use (linux).
>
> Have you tried using floating point extents and fudging them very
> slightly to overlap?
>
> Eric
>
> Mark Bakker wrote:
> > Hello all -
> >
> > I am trying to plot two images side byside.
> > The problem is that I get a white line between them.
> > Even when the extent of the two images are exactly next to eachother.
> > Does anybody know how to get rid of the white line?
> > Here's an easy example:
> >
> > from pylab import *
> > a = ones((10,10))
> > imshow(a,extent=(0,10,0,10))
> > imshow(a,extent=(10,20,0,10))
> > axis((0,20,0,10))
> >
> > Thanks, Mark
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to