John and Sandro,
I just had a quick look at the patch. The patch is for older version
of the mpl, and I couldn't test it yet. Anyhow, it should be straight
forward to port it to the new legend class. I'll work on it.
Meanwhile, below is a little code one may use to put the legend title
w/o modifying the mpl.
fig = gcf()
ax = gca()
from matplotlib.offsetbox import TextArea, VPacker
legendtitle=TextArea( "Legend Title", textprops=dict(size=20))
mylegend._legend_box = VPacker(pad=5,
On Fri, Feb 13, 2009 at 7:20 AM, John Hunter <jdh2358@...149...> wrote:
On Fri, Feb 13, 2009 at 3:31 AM, Sandro Tosi <morph@...12...> wrote:
a friend point me to  asking if there's a way to add a title to
legend without applying this patch. Well, my answer was "not that I
know of" then I start wondering if there's a reason this patch was not
applied and there's a plan to do it anytime soon.
Jae Joon -- will you review this and apply it if it looks like a good
addition to you