This repository was archived by the owner on Jul 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +243
-288
lines changed
Expand file tree Collapse file tree 3 files changed +243
-288
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 5757 "from IPython.core.display import display, HTML\n",
5858 "\n",
5959 "# Create Facets template \n",
60- "HTML_TEMPLATE = \"\"\"<link rel=\"import\" href=\"/nbextensions/facets-dist/facets-jupyter.html\">\n",
60+ "HTML_TEMPLATE = \"\"\"\n",
61+ " <script src=\"https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.js\"></script>\n",
62+ " <link rel=\"import\" href=\"/nbextensions/facets-dist/facets-jupyter.html\">\n",
6163 " <facets-dive sprite-image-width=\"{sprite_size}\" sprite-image-height=\"{sprite_size}\" id=\"elem\" height=\"600\"></facets-dive>\n",
6264 " <script>\n",
6365 " document.querySelector(\"#elem\").data = {jsonstr};\n",
8082 ],
8183 "metadata": {
8284 "kernelspec": {
83- "display_name": "Python 3 ",
85+ "display_name": "Python 2 ",
8486 "language": "python",
85- "name": "python3 "
87+ "name": "python2 "
8688 },
8789 "language_info": {
8890 "codemirror_mode": {
8991 "name": "ipython",
90- "version": 3
92+ "version": 2
9193 },
9294 "file_extension": ".py",
9395 "mimetype": "text/x-python",
9496 "name": "python",
9597 "nbconvert_exporter": "python",
96- "pygments_lexer": "ipython3 ",
97- "version": "3.5.2 "
98+ "pygments_lexer": "ipython2 ",
99+ "version": "2.7.16 "
98100 }
99101 },
100102 "nbformat": 4,
You can’t perform that action at this time.
0 commit comments