Fix numeric keys for dict inputs in tojavascript by hansthen · Pull Request #2100 · python-visualization/folium
python-visualization / folium Public
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Merged
Conversation
hansthen
commented
Mar 1, 2025
hansthen
commented
Collaborator
Even though json cannot have numeric keys in dicts, javascript can. This change handles that case.
Closes #2098
hansthen
requested a review
from Conengmo
hansthen
mentioned this pull request
Conengmo
approved these changes
Conengmo
left a comment
Conengmo
left a comment
Member
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
merged commit
6644d59
into
main
Conengmo
deleted the
2098-gradient-parameter-in-heatmap-in-newest-version-cant-work-float-object-has-no-attribute-split
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment