{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "
\n", " \n", " \n", " \n", " | \n", "\n",
" Bokeh Tutorial\n", " | \n",
"
\" + JSON.stringify(cb_obj.geometry, undefined, 2);\n", "\"\"\"))\n", "\n", "show(layout)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Exercise: Create a plot that responds to different events from bokeh.events\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Additional Information\n", "\n", "There are many kinds of interactions and events that can be connected to `CustomJS` callbacks. \n", "\n", "\n", "* Widgets - Button, Toggle, Dropdown, TextInput, AutocompleteInput, Select, Multiselect, Slider, (DateRangeSlider), DatePicker,\n", "* Tools - TapTool, BoxSelectTool, HoverTool,\n", "* Selection - ColumnDataSource, AjaxDataSource, BlazeDataSource, ServerDataSource\n", "* Ranges - Range1d, DataRange1d, FactorRange\n", "\n", "\n", "For more complete examples the User Guide section on [JavaScript Interactions](https://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Next Section" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Click on this link to go to the next notebook: [07 - Bar and Categorical Data Plots](07%20-%20Bar%20and%20Categorical%20Data%20Plots.ipynb).\n", "\n", "To go back to the overview, click [here](00%20-%20Introduction%20and%20Setup.ipynb)." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.13" } }, "nbformat": 4, "nbformat_minor": 4 }