[Matplotlib-users] Graph gains a blank space at the right hand side

2010-02-22 Thread Geoff Bache
='red') figure2.savefig('graph.png', dpi=100) then all is well and I don't get such a region. So I guess I have two questions. 1) Is this a bug? It certainly feels like one... 2) Is there a workaround / what should I do instead? Regards, Geoff Bache

Re: [Matplotlib-users] Legend placement on graphs with fill_between

2010-02-12 Thread Geoff Bache
) l1, = axessubplot4.plot([4, 5], [8, 18]) l1.set_visible(False) axessubplot4.set_autoscale_on(True) Regards, -JJ On Thu, Feb 11, 2010 at 10:58 AM, John Hunter jdh2...@gmail.com wrote: On Thu, Feb 11, 2010 at 9:43 AM, Geoff Bache geoff.ba...@jeppesen.com wrote: Hi all, I'm trying

Re: [Matplotlib-users] Legend placement on graphs with fill_between

2010-02-12 Thread Geoff Bache
On Thu, Feb 11, 2010 at 4:58 PM, John Hunter jdh2...@gmail.com wrote: On Thu, Feb 11, 2010 at 9:43 AM, Geoff Bache geoff.ba...@jeppesen.com wrote: Hi all, I'm trying to generate graphs from my test results, with regions coloured with succeeded and failing tests. It nearly works, but I have

[Matplotlib-users] Legend placement on graphs with fill_between

2010-02-11 Thread Geoff Bache
no idea what the data will look like I believe I need to use the best placement for the legend, I cannot hardcode it. Any advice greatly appreciated. I paste below exactly what my program does (this is autogenerated from my real program). Regards, Geoff Bache #!/usr/bin/env python import pylab