|
From: Benjamin R. <ben...@ou...> - 2011-09-08 16:09:42
|
On Thu, Sep 8, 2011 at 10:30 AM, Yves Revaz <yve...@ep...> 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
|