Several patches: kwargs cleanup, legend-kwargs, legend-fontsize

Hi there,

again a few patches, mostly independent but somewhat interconnected:

axes-kwargs:
  a general cleanup of the code in axes.py - in several places, kwargs was
handled inconsistently, ignoring surplus arguments. I went through all uses
of kwargs and made sure that every argument is either used or reported as
error

legend-fontsize:
  a tiny hack to make Legend respect the FONTSIZE parameter correctly. (up to
now, it was plainly ignored)

legend-kwargs:
  have Legend.__init__ respect a bunch of kwargs, overriding the global
defaults. Also Axes.legend passes these arguments through correctly

Ciao,
Norbert

matplotlib-axes-kwargs.diff (6.19 KB)

matplotlib-legend-fontsize.diff (738 Bytes)

matplotlib-legend-kwargs.diff (4.4 KB)

···

--
_________________________________________Norbert Nemec
         Bernhardstr. 2 ... D-93053 Regensburg
     Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199
           eMail: <Norbert@...160...>