Skip to content

Commit

Permalink
Minor updates to docs (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 22, 2020
1 parent dde5b38 commit ddbe617
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/gallery/bokeh/airport_graph.ipynb
Expand Up @@ -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))"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions examples/gallery/bokeh/brexit_choropleth.ipynb
Expand Up @@ -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)"
]
}
],
Expand Down
3 changes: 2 additions & 1 deletion examples/gallery/bokeh/filled_contours.ipynb
Expand Up @@ -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()))"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/bokeh/great_circle.ipynb
Expand Up @@ -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')"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/bokeh/trimesh_uk.ipynb
Expand Up @@ -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"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/user_guide/Resampling_Grids.ipynb
Expand Up @@ -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"
]
},
{
Expand Down

0 comments on commit ddbe617

Please sign in to comment.