Re: [Matplotlib-users] bbox_inches='tight' issue with text outside axes

2010-06-03 Thread Jae-Joon Lee
The currently implemented bounding box algorithm is very simple and it basically only accounts the title, axis label and ticklabels etc. I thought about implementing a general algorithm that accounts all the visible artist, but I found it very difficult (at least for me) given the support of the sp

[Matplotlib-users] bbox_inches='tight' issue with text outside axes

2010-06-03 Thread Thomas Robitaille
Hello, I have run into a problem with the bbox_inches='tight' option which allows a tight bounding box to be computed for a plot. In the following example: import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as mpl fig = mpl.figure() ax = fig.add_subplot(1,1,1) ax.text(-0.2,0.5,'te