alexras/boomslang — Issue #9: Adjust legend font size without messing with rcparams
Author: alexras
Created: 2012-02-15 23:17:57+00:00
State: open

Kevin Webb pointed me at this code snippet that makes setting legend font sizes a lot cleaner.

```python
import matplotlib.font_manager

legend_prop = matplotlib.font_manager.FontProperties(size=11)

fig.legend(..., prop=legend_prop, ...)
```

This also works for axis.legend

We should incorporate this into the codebase.