From b0b5be9a12a83ad8287fffe8016329640d09bfee Mon Sep 17 00:00:00 2001 From: YouGuessedMyName Date: Sat, 1 Feb 2025 11:16:02 +0100 Subject: [PATCH] remove old exploration --- docs/getting_started/01_study.ipynb | 314 ++++++++++++++++++++++++---- docs/getting_started/study.html | 2 +- stormvogel/visjs.py | 31 +-- stormvogel/visualization.py | 4 +- 4 files changed, 293 insertions(+), 58 deletions(-) diff --git a/docs/getting_started/01_study.ipynb b/docs/getting_started/01_study.ipynb index 5cf41b8..b76699d 100644 --- a/docs/getting_started/01_study.ipynb +++ b/docs/getting_started/01_study.ipynb @@ -155,7 +155,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 8, "id": "0df1511e-565d-45d0-93a8-adafbfaaaefa", "metadata": { "scrolled": true @@ -163,41 +163,264 @@ "outputs": [ { "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "bd157ce6c3034fd5a0533f8220e44c9e", - "version_major": 2, - "version_minor": 0 - }, + "text/html": [ + "\n", + " " + ], "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "f7080afa9cce47deb47ef9c1b145ce71", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "69b3da5b0e884431b9cb84d758067af4", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Output(), Output()))" + "" ] }, "metadata": {}, @@ -208,10 +431,29 @@ "vis = show(mdp, layout=Layout(\"layouts/pinkgreen.json\"), name=\"study\", show_editor=False)" ] }, + { + "cell_type": "code", + "execution_count": 10, + "id": "6cb412a1-52fa-4663-b7ba-371e06001f7a", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{0: {Edge(from_=0, to_=10000000001, label=None)}, 10000000000: set(), 10000000001: set(), 1: {Edge(from_=1, to_=4, label='1/10')}, 2: {Edge(from_=2, to_=4, label='3/5')}, 3: set(), 4: set()}\n" + ] + } + ], + "source": [ + "\n", + "print(vis.nt.edges)" + ] + }, { "cell_type": "code", "execution_count": null, - "id": "a9e68b97-49d8-47dc-8ba1-5d179bcecc52", + "id": "f1a87851-75b5-4e49-91ab-9382f711e495", "metadata": {}, "outputs": [], "source": [] diff --git a/docs/getting_started/study.html b/docs/getting_started/study.html index e7edec5..2e637d8 100644 --- a/docs/getting_started/study.html +++ b/docs/getting_started/study.html @@ -1,6 +1,6 @@