Skip to content

Commit 7c5a482

Browse files
Update Velocity_with_colormap.ipynb
1 parent 6dec92f commit 7c5a482

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/Velocity_with_colormap.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
" max_velocity=20,\n",
102102
" colormap = linear.viridis,\n",
103103
" display_options=display_options,\n",
104+
" caption='wind velocity (m/s)',\n",
104105
")"
105106
]
106107
},
@@ -111,7 +112,7 @@
111112
"outputs": [],
112113
"source": [
113114
"colormap_control = ipyleaflet.ColormapControl(\n",
114-
" caption='Unemployment rate',\n",
115+
" caption=wind.caption,\n",
115116
" colormap=wind.colormap,\n",
116117
" value_min=wind.min_velocity,\n",
117118
" value_max=wind.max_velocity,\n",

0 commit comments

Comments
 (0)