Skip to content
  • Sponsor plotly/plotly.py

  • Notifications You must be signed in to change notification settings
  • Fork 2.6k

Commit 196b5b0

Browse files
authoredSep 14, 2020
Merge pull request #2768 from bandersen23/patch-1
add mapbox argument source attribution to example in docs
2 parents 4e672b1 + 35bcc7f commit 196b5b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎doc/python/mapbox-layers.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ fig.update_layout(
116116
{
117117
"below": 'traces',
118118
"sourcetype": "raster",
119+
"sourceattribution": "United States Geological Survey",
119120
"source": [
120121
"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}"
121122
]
@@ -147,12 +148,14 @@ fig.update_layout(
147148
{
148149
"below": 'traces',
149150
"sourcetype": "raster",
151+
"sourceattribution": "United States Geological Survey",
150152
"source": [
151153
"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}"
152154
]
153155
},
154156
{
155157
"sourcetype": "raster",
158+
"sourceattribution": "Government of Canada",
156159
"source": ["https://geo.weather.gc.ca/geomet/?"
157160
"SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857"
158161
"&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).
191194

192195
#### Reference
193196

194-
See https://plotly.com/python/reference/layout/mapbox/ for more information and options!
197+
See https://plotly.com/python/reference/layout/mapbox/ for more information and options!

0 commit comments

Comments
 (0)