matplotlib/matplotlib — pull request #1616 by jenshnielsen (2012-12-20 16:01:42+00:00)
Title: Legend: Also calc the bbox of the legend when the frame is not drawn. 

This should fix #1586