Skip to content

Commit f200da6

Browse files
committed
Fix bokeh notebook error
1 parent 52a2374 commit f200da6

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/notebooks/58_bokeh.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
"outputs": [],
164164
"source": [
165165
"m = leafmap.Map()\n",
166-
"m.add_raster('dem.tif', palette='terrain')\n",
166+
"m.add_raster('dem.tif', colormap='terrain')\n",
167167
"m"
168168
]
169169
},

examples/notebooks/58_bokeh.ipynb

+13-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
"outputs": [],
164164
"source": [
165165
"m = leafmap.Map()\n",
166-
"m.add_raster('dem.tif', palette='terrain')\n",
166+
"m.add_raster('dem.tif', colormap='terrain')\n",
167167
"m"
168168
]
169169
},
@@ -231,6 +231,18 @@
231231
"display_name": "Python 3",
232232
"language": "python",
233233
"name": "python3"
234+
},
235+
"language_info": {
236+
"codemirror_mode": {
237+
"name": "ipython",
238+
"version": 3
239+
},
240+
"file_extension": ".py",
241+
"mimetype": "text/x-python",
242+
"name": "python",
243+
"nbconvert_exporter": "python",
244+
"pygments_lexer": "ipython3",
245+
"version": "3.11.7"
234246
}
235247
},
236248
"nbformat": 4,

0 commit comments

Comments
 (0)