From: Yuri D'E. <wa...@us...> - 2011-02-25 12:20:17
|
In the following: <<<<<<<<<<< import matplotlib as mpl import matplotlib.figure import matplotlib.backends.backend_agg fig = mpl.figure.Figure() cvs = mpl.backends.backend_agg.FigureCanvasAgg(fig) fig.set_size_inches((20,20)) fig.suptitle("Horray!", fontsize=20) plot = fig.add_subplot(111) plot.set_title("Subtitle") plot.plot([1,2,3], [3,2,1]) fig.savefig("out.png", bbox_inches='tight') >>>>>>>>>>> suptitle is stripped from the figure. Of course the title is present if you unset bbox_inches, but that's unexpected behavior for me. Is this a bug? Thanks |