See
https://github.com/matplotlib/matplotlib/issues/1997
for @leejjoon's resolution of this issue and
https://github.com/matplotlib/matplotlib/pull/2033
for a fix.
The patch in issue #2033 applies cleanly to 1.2.1 so Ubuntu could include the patch in its .deb (theoretically), and will make it into the next maintenance release (1.2.2) and major release (1.3.0).
See
https:/ /github. com/matplotlib/ matplotlib/ issues/ 1997
for @leejjoon's resolution of this issue and
https:/ /github. com/matplotlib/ matplotlib/ pull/2033
for a fix.
The patch in issue #2033 applies cleanly to 1.2.1 so Ubuntu could include the patch in its .deb (theoretically), and will make it into the next maintenance release (1.2.2) and major release (1.3.0).