fix another bug in matplotlib on macOSX
Fixes issue #58