Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35bcc7f

Browse filesBrowse files
authored
add mapbox argument sourceattribution to example
plotly#1965
1 parent 7a3364a commit 35bcc7f
Copy full SHA for 35bcc7f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎doc/python/mapbox-layers.md

Copy file name to clipboardExpand all lines: doc/python/mapbox-layers.md
+4-1Lines changed: 4 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.