diff --git a/examples/Velocity_with_colormap.ipynb b/examples/Velocity_with_colormap.ipynb index 9824f9a14..18435ddd6 100644 --- a/examples/Velocity_with_colormap.ipynb +++ b/examples/Velocity_with_colormap.ipynb @@ -27,7 +27,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -39,7 +39,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -55,7 +55,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -73,7 +73,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -101,17 +101,33 @@ " max_velocity=20,\n", " colormap = linear.viridis,\n", " display_options=display_options,\n", + " caption='wind velocity (m/s)',\n", ")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "d6cfade4ae75498195a0648d611c5eab", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Map(center=[44.33956524809713, -130.60546875000003], controls=(ZoomControl(options=['position', 'zoom_in_text'…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "colormap_control = ipyleaflet.ColormapControl(\n", - " caption='Unemployment rate',\n", + " caption=wind.caption,\n", " colormap=wind.colormap,\n", " value_min=wind.min_velocity,\n", " value_max=wind.max_velocity,\n",