Skip to content

Fix numeric keys for dict inputs in tojavascript #2100

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

Conversation

hansthen
Copy link
Collaborator

@hansthen hansthen commented Mar 1, 2025

Even though json cannot have numeric keys in dicts, javascript can. This change handles that case.

Closes #2098

Copy link
Member

@Conengmo Conengmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hans for fixing this. I took the liberty to add a test case.

@hansthen hansthen merged commit 6644d59 into main Mar 13, 2025
13 checks passed
@Conengmo Conengmo deleted the 2098-gradient-parameter-in-heatmap-in-newest-version-cant-work-float-object-has-no-attribute-split branch March 15, 2025 10:29
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.

Gradient parameter in heatmap in newest version can't work-'float' object has no attribute 'split'
2 participants