On Thu, Sep 8, 2011 at 10:30 AM, Yves Revaz <yves.re...@epfl.ch> wrote:

> Dear List,
>
> when I'm saving a plot with the option facecolor='k',
> around my image, there is still a one pixel white border.
>
> How is it possible to remove this ?
>
> try for example this very simple script:
> (using )
>
> import pylab as pt
> from numpy import *
>
> x = arange(0,10)
> y = x**2
> pt.plot(x,y)
>
> pt.savefig('qq.png',facecolor='k')
>
>
> Thanks in advance.
>
> yves
>
>
yves,

This might depend on the version of matplotlib and which backend you are
using.  I currently do not see this white line on my development build of
mpl using the GTKAgg backend.  What are you using?

Ben Root
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to