From 35bcc7fad0b7d0d7eb65be1785636bbdbca91564 Mon Sep 17 00:00:00 2001 From: Brandon Andersen <31670449+bandersen23@users.noreply.github.com> Date: Sun, 13 Sep 2020 19:56:54 -0400 Subject: [PATCH] add mapbox argument sourceattribution to example #1965 --- doc/python/mapbox-layers.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/python/mapbox-layers.md b/doc/python/mapbox-layers.md index c0409d18310..307c043bdb5 100644 --- a/doc/python/mapbox-layers.md +++ b/doc/python/mapbox-layers.md @@ -116,6 +116,7 @@ fig.update_layout( { "below": 'traces', "sourcetype": "raster", + "sourceattribution": "United States Geological Survey", "source": [ "https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}" ] @@ -147,12 +148,14 @@ fig.update_layout( { "below": 'traces', "sourcetype": "raster", + "sourceattribution": "United States Geological Survey", "source": [ "https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}" ] }, { "sourcetype": "raster", + "sourceattribution": "Government of Canada", "source": ["https://geo.weather.gc.ca/geomet/?" "SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857" "&WIDTH=1000&HEIGHT=1000&LAYERS=RADAR_1KM_RDBR&TILED=true&FORMAT=image/png"], @@ -191,4 +194,4 @@ See the example in the [plotly and datashader tutorial](/python/datashader). #### Reference -See https://plotly.com/python/reference/layout/mapbox/ for more information and options! \ No newline at end of file +See https://plotly.com/python/reference/layout/mapbox/ for more information and options!