Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Jun 16, 2024
1 parent d40efbd commit 0a6cded
Showing 1 changed file with 7 additions and 54 deletions.
61 changes: 7 additions & 54 deletions example/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n",
"env: ANYWIDGET_HMR=1\n"
]
}
],
"outputs": [],
"source": [
"# This cell (autoloading & hot module replacement) is only needed for development!\n",
"%load_ext autoreload\n",
Expand All @@ -24,24 +14,9 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "067c689334a14910a7f11d529b60f922",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BZVisualizer(disable_interact_overlay=True, height='800px', seekpath_data={'faces_data': {'triangles_vertices'…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"from widget_bzvisualizer import BZVisualizer\n",
"\n",
Expand All @@ -68,7 +43,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -82,24 +57,9 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2acda8bf7ef946388c889d763521417b",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BZVisualizer(height='800px', seekpath_data={'faces_data': {'triangles_vertices': [[-1.1089190599406602, -2.220…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"# Load info with ASE\n",
"# NOTE: (ASE is not included as a direct dependency, needs to be installed separately)\n",
Expand All @@ -115,13 +75,6 @@
"display(bz2)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 0a6cded

Please sign in to comment.