From: Jae-Joon L. <lee...@gm...> - 2009-06-10 20:32:13
|
I guess I misunderstood your intention. As you posted the message in the mpl list, I assumed that you want to crop out the boundary of the mpl figure, which seems to be not the case. Sorry for the noise. -JJ On Wed, Jun 10, 2009 at 12:09 PM, Nils Wagner<nw...@ia...> wrote: > On Wed, 10 Jun 2009 02:26:54 -0400 > Jae-Joon Lee <lee...@gm...> wrote: >> >> If you're using very recent version of mpl, you may try savefig with >> "bbox_inches" option. >> >> savefig("a.png", bbox_inches="tight") >> >> The algorithm is not perfect, but will work for most of simple plots. >> >> Regards, >> >> -JJ >> > Hm, it doesn't work as expected. Am I missing something ? > The example is attached. > > Cheers, > Nils > |