Skip to content

Commit

Permalink
changed scale example in Geometries notebook to use feature that is s…
Browse files Browse the repository at this point in the history
…cale dependent, previous example was a bit confusing as the results looked no different (#137)
  • Loading branch information
scaine1 authored and philippjfr committed Feb 18, 2018
1 parent a7dfb35 commit 0dd7563
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions notebooks/user_guide/Geometries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,17 @@
"outputs": [],
"source": [
"%%output backend='bokeh'\n",
"%%opts Feature [scale='110m']\n",
"gf.ocean * gf.land() * gv.Feature(graticules, group='Lines').opts(plot=dict(scale='110m'))"
"%%opts Feature.Land.110m [scale='110m']\n",
"%%opts Feature.Land.50m [scale='50m']\n",
"(gf.ocean * gf.land().relabel(label='110m') * gv.Feature(graticules, group='Lines') + \n",
" gf.ocean * gf.land().relabel(label='50m') * gv.Feature(graticules, group='Lines'))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"zoom in using the bokeh zoom widget and you should see that the right hand panel is using a higher resultion dataset for the land feature"
]
},
{
Expand Down

0 comments on commit 0dd7563

Please sign in to comment.