diff --git a/examples/gallery/bokeh/airport_graph.ipynb b/examples/gallery/bokeh/airport_graph.ipynb index c12680ef..48b9f1cb 100644 --- a/examples/gallery/bokeh/airport_graph.ipynb +++ b/examples/gallery/bokeh/airport_graph.ipynb @@ -62,7 +62,7 @@ "(tiles * busiest_airports).opts(\n", " opts.Graph(edge_selection_line_color='black', edge_hover_line_color='red',\n", " edge_line_width=1, edge_line_alpha=0.01, edge_nonselection_line_alpha=0.01,\n", - " padding=0.1, width=800, height=600))" + " width=800, height=600))" ] } ], diff --git a/examples/gallery/bokeh/brexit_choropleth.ipynb b/examples/gallery/bokeh/brexit_choropleth.ipynb index 2da2a282..52d2d649 100644 --- a/examples/gallery/bokeh/brexit_choropleth.ipynb +++ b/examples/gallery/bokeh/brexit_choropleth.ipynb @@ -45,8 +45,8 @@ "outputs": [], "source": [ "gv.Polygons(gdf, vdims=['name', 'leaveVoteshare'], label='Brexit Referendum Vote').opts(\n", - " tools=['hover'], width=550, height=700, color_index='leaveVoteshare',\n", - " colorbar=True, toolbar='above', xaxis=None, yaxis=None, padding=0.1)" + " tools=['hover'], width=550, height=700, color='leaveVoteshare',\n", + " colorbar=True, toolbar='above', xaxis=None, yaxis=None)" ] } ], diff --git a/examples/gallery/bokeh/filled_contours.ipynb b/examples/gallery/bokeh/filled_contours.ipynb index 9eac0e19..04e0ee18 100644 --- a/examples/gallery/bokeh/filled_contours.ipynb +++ b/examples/gallery/bokeh/filled_contours.ipynb @@ -64,7 +64,8 @@ "outputs": [], "source": [ "(contours * gf.coastline).opts(\n", - " opts.FilledContours(levels=8, color_levels=10, cmap='nipy_spectral', colorbar=True, width=600, height=300, projection=crs.Mollweide()))" + " opts.FilledContours(levels=8, color_levels=10, cmap='nipy_spectral',\n", + " colorbar=True, width=600, height=300, projection=crs.Mollweide()))" ] } ], diff --git a/examples/gallery/bokeh/great_circle.ipynb b/examples/gallery/bokeh/great_circle.ipynb index 354bce7e..303f4e43 100644 --- a/examples/gallery/bokeh/great_circle.ipynb +++ b/examples/gallery/bokeh/great_circle.ipynb @@ -64,7 +64,7 @@ "metadata": {}, "outputs": [], "source": [ - "tiles * graph.opts(width=600, height=400, tools=['hover', 'tap'], node_color='black', padding=0.1)" + "tiles * graph.opts(width=600, height=400, tools=['hover', 'tap'], node_color='black')" ] } ], diff --git a/examples/gallery/bokeh/trimesh_uk.ipynb b/examples/gallery/bokeh/trimesh_uk.ipynb index 5de96675..0bdb5d39 100644 --- a/examples/gallery/bokeh/trimesh_uk.ipynb +++ b/examples/gallery/bokeh/trimesh_uk.ipynb @@ -87,7 +87,7 @@ "metadata": {}, "outputs": [], "source": [ - "gf.coastline.opts(line_color='red', scale='50m', width=600, height=500) * trimesh.opts(padding=0.1)" + "gf.coastline.opts(line_color='red', scale='50m', width=600, height=500) * trimesh" ] } ], diff --git a/examples/user_guide/Resampling_Grids.ipynb b/examples/user_guide/Resampling_Grids.ipynb index 4cb7caf4..f3cb1c29 100644 --- a/examples/user_guide/Resampling_Grids.ipynb +++ b/examples/user_guide/Resampling_Grids.ipynb @@ -289,7 +289,7 @@ "opts.defaults(opts.Image(cmap='RdBu_r'), opts.QuadMesh(cmap='RdBu_r'))\n", "\n", "quadmeshes = gvds.to(gv.QuadMesh, ['xc', 'yc'], dynamic=True)\n", - "quadmeshes.map(lambda x: x.clone(x.data.Tair[::3, ::3]), gv.QuadMesh) * gv.feature.coastline" + "quadmeshes.apply(lambda x: x.clone(x.data.Tair[::3, ::3])) * gv.feature.coastline" ] }, {