Add output_notebook call to example so that state.notebook_type is set
"cell_type": "code",
"execution_count": null,
"metadata": {
- "collapsed": true,
+ "collapsed": false,
"deletable": true,
"editable": true
},
"from bokeh.models import ColumnDataSource, Slider\n",
"from bokeh.plotting import figure\n",
"from bokeh.themes import Theme\n",
- "from bokeh.io import show"
+ "from bokeh.io import show, output_notebook\n",
+ "\n",
+ "output_notebook()"
]
},
{
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.5.3"
+ "version": "3.5.2"
}
},
"nbformat": 4,
