Changing fontsize in legend

Hi again Working with legend I've encountered another

    > problem. Changing the fontsize in a legend seems to be a
    > little harder than first assumed. Is there an easy way to
    > do this?? shows you how to
customize the legend text font size. The examples directory is really
an indispensable tool in learning matplotlib. If you are using the
source distribution, the examples directory is included. If you are
using a binary distribution, a zip file is found here

The relevant code fragment from is

  ltext = leg.get_texts() # all the text.Text instance in the legend
  set(ltext, fontsize='small') # the legend text fontsize