Skip to content

Conversation

aa403
Copy link

@aa403 aa403 commented Jul 3, 2024

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

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
@FliegendeWurst
Copy link

Some more context: this fix is required for Numpy 2.x compatibility.

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

Successfully merging this pull request may close these issues.

2 participants