This is a bug introduced in the recent version of MPL.
While it is fixed in the maintenance branch, there is no release yet.
You may
1) try the svn version
or
2) apply the patch by yourself.
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_98_5_maint/lib/matplotlib/legend
Hi,
I am unable to create legend for vlines graph. I have modified the
vline_demo.py to demonstrate the problem (see below)
#!/usr/bin/env python
from matplotlib.pyplot import *
from numpy import sin, exp, absolute, pi, arange
from num