Closed poke1024 closed 7 years ago
Sorry this PR went unnoticed so long! Does this particular problem still occur with recent versions of matplotlib?
I've seen this when trying to build docs. I'm running palettable from a virtual environment, and my python was installed via homebrew.
Currently, on OS X, if palettable won't import due to matplotlib throwing a
RuntimeError
if Python is not installed as OS X framework:This PR adds a check for
RuntimeError
for the import ofmatplotlib
, so importingmatplotlib
still fails, but palettable is now usable and doesn't fail as well.