santosjorge / cufflinks

Productivity Tools for Plotly + Pandas
MIT License
3.02k stars 675 forks source link

Update colors.py #288

Open aa403 opened 2 months ago

aa403 commented 2 months ago

forces alpha to be a float. using jupyterlab, it seems like it is coming thru as a np.float which is then causing plotly to fallover

to install:

(for poetry) cufflinks = { git = "https://github.com/aa403/cufflinks.git", branch = "patch-1" }

(for pip / requirements.txt) cufflinks @ git+https://github.com/aa403/cufflinks@patch-1

SO discussion of the issue here: https://stackoverflow.com/questions/51691172/plotly-value-error-invalid-property-for-colour