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

adding latitude and longitude range for the map #71

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

mrastgoo
Copy link

No description provided.

@GaelVaroquaux
Copy link
Contributor

GaelVaroquaux commented Mar 19, 2020

Thanks!!

What would be really useful is that, when the user zooms, the area used by the map expands more vertically. Right now, it is not using well the screen real estate.

I don't know how to do this, by the way.

@mrastgoo
Copy link
Author

ok, I will look into it, see if there is a way

@ashwinpn
Copy link
Member

@GaelVaroquaux It would a really good addition, if we were to connect the zooming in with spatial granuarity (#58) - Initially, we would have countries represented on the plot, then as we start zooming in, we go in the order countries -> states -> provinces/boroughs -> cities -> neighbourhoods.

Currently, information on provinces/boroughs and cities won't be of much use (sparse data, still early stages to derive valuable insights) - but a couple of months from now, it would be, as the virus spreads.

Obviously this would be a complex implementation, and should be thought about when all the basic parts are working well and integrated together, but I am mentioning it here to make a note of it.

ashwinpn and others added 5 commits March 20, 2020 14:14
The text which describes the time window slider is not aligned properly - aligning to the center makes it look better.
Aligned "drag handles..." to center
pushing the longitude more towards the right

longitude start from -165

ranges of latitude and lonitude
@mrastgoo mrastgoo changed the title [wip] adding latitude and longitude range for the map adding latitude and longitude range for the map Mar 20, 2020
@mrastgoo
Copy link
Author

I couldn't find any solution other than using yaxis.scaleanchor and yaxis.scaleratio of the layout check this ref, however I dont see any changes for the plotly.express.choropleth object.
@emmanuelle do you have any suggestion ?

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.

None yet

5 participants