Skip to content

Change Map lat&lon bound type annotations from int to float#1954

Merged
Conengmo merged 1 commit intopython-visualization:mainfrom
JonasVerbickas:main
May 23, 2024
Merged

Change Map lat&lon bound type annotations from int to float#1954
Conengmo merged 1 commit intopython-visualization:mainfrom
JonasVerbickas:main

Conversation

@JonasVerbickas
Copy link
Copy Markdown
Contributor

There is no technical reason for why the lat&lon bounds would have to be int.

In fact, it makes a lot of sense to use floats in order to allow for much more precise map bounds.

There is no technical reason for why the lat&lon bounds would have to be int.
In fact, it makes a lot of sense to use floats in order to allow for much more precise map bounds.
Copy link
Copy Markdown
Collaborator

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

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

good catch. The code actually fully supports floats, it is just wrong type hinting.

@Conengmo Conengmo merged commit b80e7e9 into python-visualization:main May 23, 2024
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.

3 participants