Re: [Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread gary ruben
The dpi value, which can be overridden, will determine the size of the output image. It looks to me like you just want the output to always be the same size as your input image, so use imsave() instead of imshow() followed by savefig() for this: i.e. just do map = Basemap(..) pilImg = Image.op

[Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread Isidora
Hi, I am new to matplotlib so I may not have found the right answer because I am looking in the wrong places. I wrote a script to draw lines on a 800x600 pixels GIF background map. The output image I get is 620x450. Could someone let me know what I am doing wrong? Code Snippet: map = Basemap