Skip to content

Instantly share code, notes, and snippets.

@jj-github-jj
Last active October 12, 2022 01:50
Show Gist options
  • Save jj-github-jj/066a8b9abb04135579b0432c5264c66b to your computer and use it in GitHub Desktop.
Save jj-github-jj/066a8b9abb04135579b0432c5264c66b to your computer and use it in GitHub Desktop.
vscode related
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"!{sys.executable} -m pip install jupyter_bokeh\n",
"pn.extension(comms=\"vscode\")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import io\n",
"import panel as pn\n",
"import hvplot.pandas\n",
"from bokeh.sampledata.penguins import data as df\n",
"pn.extension(comms=\"vscode\")\n",
"hvexplorer = hvplot.explorer(df)\n",
"hvexplorer"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.5 64-bit ('3.9.5')",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.9.5"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "e936c08af75c116cb3287b462d25e7be8037b3435bb9d3712ce8da9df27974e5"
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment