Skip to content

Commit

Permalink
Merge pull request #112 from ioam/notebook_revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Dec 19, 2017
2 parents 9537ed9 + 64ce1be commit c1b0e7d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion doc/Geometries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,24 @@
"(gf.ocean * gf.land() * gv.Feature(graticules, group='Lines') * gf.borders * gf.coastline)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The scale of features may be controlled using the ``scale`` plot option, the most common options being `'10m'`, `'50m'` and `'110m'`. Cartopy will downloaded the requested resolution as needed."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"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'))"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -273,7 +291,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"version": "3.6.3"
},
"widgets": {
"state": {},
Expand Down
4 changes: 2 additions & 2 deletions doc/Working_with_Bokeh.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"outputs": [],
"source": [
"%%opts WMTS [width=450 height=250 xaxis=None yaxis=None]\n",
"hv.NdLayout({name: gv.WMTS(wmts, extents=(0, -90, 360, 90), crs=ccrs.PlateCarree())\n",
"hv.NdLayout({name: gv.WMTS(wmts)\n",
" for name, wmts in tiles.items()}, kdims=['Source']).cols(2)"
]
},
Expand Down Expand Up @@ -246,7 +246,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"version": "3.6.3"
},
"widgets": {
"state": {},
Expand Down

0 comments on commit c1b0e7d

Please sign in to comment.