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

2010-02-22 Thread Geoff Bache
bplot2.fill_between([3, 4, 5], [1, 0, 1], [1, 1, 1], color='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 lik

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 wrote: > On Thu, Feb 11, 2010 at 9:43 AM, Geoff Bache 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

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

2010-02-12 Thread Geoff Bache
gt; > axessubplot4.set_autoscale_on(False) > 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 wrote: >> On Thu, Feb 11, 2010 at 9:43 AM,

[Matplotlib-users] Legend placement on graphs with fill_between

2010-02-11 Thread Geoff Bache
ne. As I in general have 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 B