Skip to content

Commit fdae821

Browse files
committed
Update datashader.md
1 parent bce8097 commit fdae821

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

doc/python/datashader.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,9 @@ import plotly.express as px
6565
# Trick to create rapidly a figure with map axes
6666
fig = px.scatter_map(dff[:1], lat='Lat', lon='Lon', zoom=12)
6767
# Add the datashader image as a tile map layer image
68-
fig.update_layout(map_style="carto-darkmatter",
69-
map_layers = [
70-
{
71-
"sourcetype": "image",
72-
"source": img,
73-
"coordinates": coordinates
74-
}]
68+
fig.update_layout(
69+
map_style="carto-darkmatter",
70+
map_layers=[{"sourcetype": "image", "source": img, "coordinates": coordinates}],
7571
)
7672
fig.show()
7773
```

0 commit comments

Comments
 (0)