-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Gradient parameter in heatmap in newest version can't work-'float' object has no attribute 'split' #2098
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
Comments
It can be address by, HeatMap(data,
gradient = {"0.1": "blue", "0.6": "cyan",
"0.7": "lime", "0.8": "yellow", "1": "red"}
).add_to(m) However, it seems not consistent with the document,
|
Let me have a look at it. @wybert using string keys, does it do what you expect it to do? |
hansthen
added a commit
that referenced
this issue
Mar 1, 2025
hansthen
added a commit
that referenced
this issue
Mar 13, 2025
* Fix numeric keys in arguments Closes #2098 * add a test case --------- Co-authored-by: Conengmo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gradient parameter in heatmap seems can't work in version since
0.19.0
. To reproduce, use the following code, or in colabIn newest version
0.19.4
the error is show below,The text was updated successfully, but these errors were encountered: