matplotlib / viscm

A tool for visualizing and designing colormaps using colorspacious and matplotlib
MIT License
166 stars 33 forks source link

Conversion from float64 to uint8 error on macosx backend #50

Closed samjett247 closed 5 years ago

samjett247 commented 5 years ago

image This is an error I was getting from the command python -m viscsm view <insert_colormap>. I tried with jet and parula and viridis. Versions: viscm==0.0.7 matplotlib==1.12.0 colorspacious==1.1.2 numpy==1.17

evertrol commented 5 years ago

This appears to be a duplicate of #46 . Try upgrading to the most recent release, 0.8:

pip install --upgrade viscm

If that upgrade fails (it did for me; see also #48 ), try upgrading directly from the repository:

pip install --upgrade git+https://github.com/matplotlib/viscm.git

I'm using Python 3.7.3 with the repository version of viscm without a problem on MacOS.

tacaswell commented 5 years ago

Closing this as fixed. Please try upgrading to v0.9