Hi,

I'm trying to display a mosaic of image tiles in a single plot, but I keep
getting lines between the tiles. Is there a way to avoid these lines?
(I'd really rather not pre-process the images to stitch them all together
into a single image.)


The following code reproduces the problem:

 
import matplotlib.pyplot as plt
import numpy as np
 
e1 = (27, 31.5, 31.5, 36)
e2 = (31.5, 36, 31.5, 36)
 
image = np.zeros((10, 10))
for e in (e1, e2):
    plt.imshow(image, extent=e)
plt.xlim(27, 36)
plt.show()


I've also tried the following with no improvement:
    plt.imshow(image, extent=e, interpolation='none', resample=False)


Thanks,
Richard Hattersley

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to