Open emmanuelle opened 4 years ago
Can be done by changing layout.geo.lataxis.range and layout.geo.lonaxis.range as described in https://plot.ly/python/map-configuration/#map-projections (scroll down a bit).
layout.geo.lataxis.range
layout.geo.lonaxis.range
The corresponding part of the code is https://github.com/covid19-dash/covid-dashboard/blob/master/make_figures.py#L49 (you can also call directly fig.update_geos).
fig.update_geos
I will work on this
we would like the map to be more square, the goal is that when you zoom the whole figure is filled with the zoomed map (this is not the case at the moment).
Can be done by changing
layout.geo.lataxis.range
andlayout.geo.lonaxis.range
as described in https://plot.ly/python/map-configuration/#map-projections (scroll down a bit).The corresponding part of the code is https://github.com/covid19-dash/covid-dashboard/blob/master/make_figures.py#L49 (you can also call directly
fig.update_geos
).