Skip to content

Commit

Permalink
Guess at what might have been meant. Also remove some output that was…
Browse files Browse the repository at this point in the history
… stored in input cells as it should appear when the notebook is run - but maybe that was necessary for the website? Not sure.
  • Loading branch information
ceball committed Nov 27, 2019
1 parent 9242fe0 commit 6324f9c
Showing 1 changed file with 3 additions and 46 deletions.
49 changes: 3 additions & 46 deletions examples/user_guide/Deploying_Bokeh_Apps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@
"print(renderer)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```python\n",
"BokehRenderer()\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -152,7 +143,7 @@
"source": [
"### Figures\n",
"\n",
"The BokehRenderer converts the HoloViews object to a HoloViews ``Plot``, which holds the Bokeh models that will be rendered to screen. As a very simple example we can convert a HoloViews ``Image`` to a HoloViews plot:"
"The BokehRenderer converts the HoloViews object to a HoloViews ``Plot``, which holds the Bokeh models that will be rendered to screen. As a very simple example we can convert a HoloViews ``Layout`` to a HoloViews plot:"
]
},
{
Expand All @@ -161,19 +152,11 @@
"metadata": {},
"outputs": [],
"source": [
"layout = points + selected_points\n",
"hvplot = renderer.get_plot(layout)\n",
"print(hvplot)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```\n",
"<LayoutPlot LayoutPlot01808>\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -190,13 +173,6 @@
"hvplot.state"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Column**(\tid = '5a8b7949-decd-4a96-b1f8-8f77ec90e5bf', …)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -231,16 +207,6 @@
"renderer(layout)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```\n",
"(<bokeh.document.Document at 0x11afc7590>,\n",
" {'file-ext': 'html', 'mime_type': u'text/html'})\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -338,15 +304,6 @@
"print(app)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```\n",
"<bokeh.application.application.Application object at 0x11c0ab090>\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -545,7 +502,7 @@
"import numpy as np\n",
"import holoviews as hv\n",
"\n",
"from bokeh.io import show, curdoc\n",
"from bokeh.io import show, curdoc # noqa: curdoc is a commented-out option\n",
"from bokeh.layouts import layout\n",
"from bokeh.models import Slider, Button\n",
"\n",
Expand Down

0 comments on commit 6324f9c

Please sign in to comment.