Re: [Matplotlib-users] controllin the background of a plot

2011-07-27 Thread Till Stensitzki
Hi, try if: gcf().set_frameon(False) helps. greetings Till -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on Thi

Re: [Matplotlib-users] controllin the background of a plot

2011-07-25 Thread robert rottermann
thanks ben, (sorry for sending answer twice) > When you call savefig(), you can pass it the kwarg option of > bbox_inches='tight' and that should help get rid of any extra area you > may have. > > Ben Root I tried to follow your advice. however it did not help. This is what I do: - get the curren

Re: [Matplotlib-users] controllin the background of a plot

2011-07-24 Thread robert rottermann
Ok, your version is quite old, and might be older than when the bbox_inches='tight' feature was added. Unfortunately, the way savefig was designed, I think it would swallow extra kwargs. > > The current matplotlib is version 1.0.1, and we are getting close to > cutting a new v1.1.0 release. De

Re: [Matplotlib-users] controllin the background of a plot

2011-07-23 Thread Benjamin Root
On Sat, Jul 23, 2011 at 4:50 PM, robert rottermann wrote: > ** > On 23/07/11 23:17, Benjamin Root wrote: > > On Sat, Jul 23, 2011 at 2:53 PM, robert rottermann < > robert.rotterm...@gmx.ch> wrote: > >> thanks ben, >> (sorry for sending answer twice) >> >> > When you call savefig(), you can pass i

Re: [Matplotlib-users] controllin the background of a plot

2011-07-23 Thread robert rottermann
On 23/07/11 23:17, Benjamin Root wrote: On Sat, Jul 23, 2011 at 2:53 PM, robert rottermann mailto:robert.rotterm...@gmx.ch>> wrote: thanks ben, (sorry for sending answer twice) > When you call savefig(), you can pass it the kwarg option of > bbox_inches='tight' and that should

Re: [Matplotlib-users] controllin the background of a plot

2011-07-23 Thread Benjamin Root
On Sat, Jul 23, 2011 at 2:53 PM, robert rottermann wrote: > thanks ben, > (sorry for sending answer twice) > > > When you call savefig(), you can pass it the kwarg option of > > bbox_inches='tight' and that should help get rid of any extra area you > > may have. > > > > Ben Root > I tried to foll

Re: [Matplotlib-users] controllin the background of a plot

2011-07-23 Thread robert rottermann
thanks ben, (sorry for sending answer twice) > When you call savefig(), you can pass it the kwarg option of > bbox_inches='tight' and that should help get rid of any extra area you > may have. > > Ben Root I tried to follow your advice. however it did not help. This is what I do: - get the curren

Re: [Matplotlib-users] controllin the background of a plot

2011-07-23 Thread Benjamin Root
On Saturday, July 23, 2011, robert rottermann wrote: > Hi there, > > I am creating an image with mathplotlib. This image is then shown an a web page. > now ma question. > the Image is set in a large gray area. I assume it is the space needed for the > axis which I do not show. > How can I suppress