Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matplotlib issue in osx #22

Open
briantjacobs opened this issue Sep 27, 2017 · 0 comments
Open

matplotlib issue in osx #22

briantjacobs opened this issue Sep 27, 2017 · 0 comments

Comments

@briantjacobs
Copy link

When trying to use the .mpl_colormap functionality even with matplotlib installed, I was getting

File "/Users/brianjac/.virtualenvs/bird/lib/python2.7/site-packages/palettable/palette.py", line 99, in get_mpl_colormap
    raise RuntimeError('matplotlib not available.')

I'm using a python virtual environment. Turns out I needed to do this step:
https://stackoverflow.com/a/35107136/4863986

This took some sleuthing, maybe worth mentioning in the documentation, as matplotlib is needed to use certain functions like .mpl_colormap

I would also love to see some more cookbook examples on how to use this library for generic lists of interpolated colors not feeding into matlab plots.

Otherwise, great library, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant