first commit
Referring to matplotlib issue 1521