From: Pierre H. <pie...@cr...> - 2014-03-24 10:27:21
|
Hi, Le 24/03/2014 10:45, Jesper Larsen a écrit : > I am using matplotlib to produce plots (tiles) in a Web Map Service. > Unfortunately I cannot get Matplotlib to plot on the entire image. > There are one transparent (pixel) line at the bottom and one > transparent line at the right. This is of course a problem when the > tiles are shown in a map. Please see example below. Can anyone see > what I am doing wrong? I've run your code and got no transparent pixels. print im.getcolors() [(65536, (0, 0, 128, 255))] I also tried with __future__ division to see if there was something with figsize = w/dpi, h/dpi, but got the same output best, Pierre (python 2.7 on Linux, mpl 1.3.1) |