Various lines and area fills can be shown or hidden, and their color and line-widths specified. administrative border) data from the Natural Earth Dataset. Plotly Geo maps have a built-in base map layer composed of "physical" and "cultural" (i.e. That said, every configuration option here is equally applicable to non-empty maps created with the Plotly Express px.scatter_geo, px.line_geo or px.choropleth functions. Note that although this distributes the letters mathematically precise, the different shapes of the letters might force you to manually nudge the letters around until achieving a balanced look. Note: Plotly Express cannot create empty figures, so the examples below mostly create an "empty" map using fig = go.Figure(go.Scattergeo()). In the Align panel make sure to click Align to Artboard and then click Vertical Distribute Space followed by Horizontal Distribute Space. This page documents Geo outline-based maps, and the Mapbox Layers documentation describes how to configure Mapbox tile-based maps. If your figure is created with a px.scatter_geo, px.line_geo or px.choropleth function or otherwise contains one or more traces of type go.Scattergeo or go.Choropleth, the layout.geo object in your figure contains configuration information for the map itself. If your figure is created with a px.scatter_mapbox, px.line_mapbox, px.choropleth_mapbox or px.density_mapbox function or otherwise contains one or more traces of type go.Scattermapbox, go.Choroplethmapbox or go.Densitymapbox, the layout.mapbox object in your figure contains configuration information for the map itself. Plotly supports two different kinds of maps:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |