Skip to content
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

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

Merged
merged 1 commit into from
May 23, 2024

Conversation

JonasVerbickas
Copy link
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
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
12 checks passed
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