Fix numeric keys for dict inputs in tojavascript by hansthen · Pull Request #2100 · python-visualization/folium

@hansthen

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

Closes #2098

@hansthen

@hansthen hansthen linked an issue

Mar 1, 2025

that may be closed by this pull request

@Conengmo

Conengmo

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.

@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