From: Yuri D'E. <wa...@us...> - 2011-03-02 12:22:01
|
On Tue, 1 Mar 2011 12:44:20 +0900 Jae-Joon Lee <lee...@gm...> wrote: > > Is this a bug? > > Unfortunately, bbox_inches option is never meant to be complete in > figuring out the exact size of the figure area. Why not? What's the purpose of bbox_inches='tight' otherwise? > However, you can use "bbox_extra_artists" keyword argument to specify > additional artists that should be considered when dertermining the > plot size. > > mytitle = fig.suptitle("Horray!", fontsize=20) > > ... > > fig.savefig("out.png", bbox_inches='tight', bbox_extra_artists=[mytitle]) That doesn't work for me either. |