diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0d85a13..6c356ec 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,11 +1,6 @@ name: Docs -on: - # Runs on pushes targeting the default branch and pull requests. - push: - branches: [main] - pull_request: - types: [opened, reopened] +on: [push] concurrency: group: ${{ github.workflow }}-${{ github.ref_name }} @@ -60,22 +55,25 @@ jobs: files: | docs/**/*.ipynb - - name: Run documentation notebooks - run: | - poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }} + # - name: Run documentation notebooks + # run: | + # poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }} --ExecutePreprocessor.kernel_name=python3 - name: Generate docs working-directory: docs/ run: make html - name: Setup Pages + if: github.ref == 'refs/heads/main' uses: actions/configure-pages@v5 - name: Upload artifact + if: github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v3 with: path: "docs/_build/html/" - name: Deploy to GitHub Pages + if: github.ref == 'refs/heads/main' id: deployment uses: actions/deploy-pages@v4 diff --git a/Untitled.ipynb b/Untitled.ipynb deleted file mode 100644 index dba60c4..0000000 --- a/Untitled.ipynb +++ /dev/null @@ -1,43 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "c4d32ada-47ed-412e-95dd-3f16880fa568", - "metadata": {}, - "outputs": [], - "source": [ - "import examples" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1935eab3-9731-4cd3-9fde-cbd22a25eea3", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "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.12.7" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/docs/getting_started/die.html b/docs/getting_started/die.html index 2111815..6b047e2 100644 --- a/docs/getting_started/die.html +++ b/docs/getting_started/die.html @@ -1,6 +1,6 @@
" - } - }, - "00af4b6417df4de0aaf3149a2fb18369": { + "04167fe4ffde46ebb5eea22ecb840b1a": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -387,46 +384,47 @@ "width": null } }, - "00d4dcfd5513458982fec93054644b22": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "VBoxModel", + "0e863557cf104f8392a3b031c68e2fb7": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "VBoxModel", + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [ - "IPY_MODEL_1b8c4936dd164cfcbf1b91087038b975", - "IPY_MODEL_5196323e3a4b41a7898c85a9e7cbcc71" - ], - "layout": "IPY_MODEL_9f034116db994c3f970714b87ffa994d", + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_991762f218504403aab4a5045928eeaf", + "msg_id": "", + "outputs": [], "tabbable": null, "tooltip": null } }, - "00e8f8e691264f1880f89ecf8652b5ce": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "SliderStyleModel", + "161210d328a746fc8dd3715ebdf07e94": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "SliderStyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "description_width": "", - "handle_color": null + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_6860b3df947a4ea9a9f79cd92a44fa2b", + "msg_id": "", + "outputs": [], + "tabbable": null, + "tooltip": null } }, - "00fd3d0fcecc4166a8298857a57edc9d": { + "25fdf4123e944c8eb277ec3133113c7d": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -479,7 +477,7 @@ "width": null } }, - "012e4ea4e4df44b1ac8bb62e1fb22bae": { + "2f00f8d9af2345f99084d12197511d8b": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -532,7 +530,45 @@ "width": null } }, - "015f77944d3e4fc983815db4dd39aa07": { + "3e9da64b6ca04108989cbc43637c59ae": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "2.0.0", + "model_name": "HTMLStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "2.0.0", + "_model_name": "HTMLStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "2.0.0", + "_view_name": "StyleView", + "background": null, + "description_width": "", + "font_size": null, + "text_color": null + } + }, + "41ff2387866f49078965869ec0761616": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_652606f783d0402b85cef9a6577b1055", + "msg_id": "", + "outputs": [], + "tabbable": null, + "tooltip": null + } + }, + "499748d29cf047d68d571bccb28f655e": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", @@ -545,14 +581,14 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_07361cbca45a422b96c1cf37e7183db6", + "layout": "IPY_MODEL_7211793791ed4eb583e5169733162229", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, - "018d1f325aec4685874cc4bd00908a6d": { + "544a78955e8f4dde9a2b30ef9d8fadc7": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -605,43 +641,27 @@ "width": null } }, - "01bef9826b4a4d7fa00fffee64e5d360": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DropdownModel", + "5849e057b87745ffb6c904efe3a9f88f": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "DropdownModel", - "_options_labels": [ - "ellipse", - "circle", - "database", - "box", - "text", - "diamond", - "dot", - "star", - "triangle", - "triangleDown", - "square" - ], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "DropdownView", - "description": "Shape", - "description_allow_html": false, - "disabled": false, - "index": 3, - "layout": "IPY_MODEL_7db7411b95484c0fb8ea8f543ef4f575", - "style": "IPY_MODEL_f85623fce9c04c24aecff8e7bdbddeea", + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_cc0f90ab34e74ad295017549992fbfaf", + "msg_id": "", + "outputs": [], "tabbable": null, "tooltip": null } }, - "0221a3b535c24038b425794949182471": { + "652606f783d0402b85cef9a6577b1055": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -694,7 +714,7 @@ "width": null } }, - "02a29571fa8e4130b03f8d46d5e2e977": { + "6860b3df947a4ea9a9f79cd92a44fa2b": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -747,30 +767,7 @@ "width": null } }, - "02bb80313d654903990b0b12a0691526": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "HTMLModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "HTMLView", - "description": "", - "description_allow_html": false, - "layout": "IPY_MODEL_59120677f93e4ca9bac633d1cc4b88f4", - "placeholder": "\u200b", - "style": "IPY_MODEL_303f824321e84980a3717c6e9c3d2a94", - "tabbable": null, - "tooltip": null, - "value": "Font
" - } - }, - "032e0870a3844cc1a5108e905cd614ea": { + "7211793791ed4eb583e5169733162229": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -823,22 +820,7 @@ "width": null } }, - "03e19d49ef1b49d7ad0d8e144b200b1c": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DescriptionStyleModel", - "state": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "DescriptionStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "description_width": "" - } - }, - "055b49053af149c5a68156d0532b77b8": { + "80839ad46d664b0fa8f2b63ea97e90a2": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -891,23 +873,50 @@ "width": null } }, - "05ba07bade2d400f933ebc12b73ce120": { + "8b97cf28554a46d0824c69866a9ef98e": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_ea8b13024f55497d8588fe55f5dceecd", + "msg_id": "", + "outputs": [], + "tabbable": null, + "tooltip": null + } + }, + "98ce4ff0c513440ea23fb510a3ac79c8": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", - "model_name": "CheckboxStyleModel", + "model_name": "HTMLModel", "state": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", - "_model_name": "CheckboxStyleModel", + "_model_name": "HTMLModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "background": null, - "description_width": "" + "_view_name": "HTMLView", + "description": "", + "description_allow_html": false, + "layout": "IPY_MODEL_25fdf4123e944c8eb277ec3133113c7d", + "placeholder": "\u200b", + "style": "IPY_MODEL_3e9da64b6ca04108989cbc43637c59ae", + "tabbable": null, + "tooltip": null, + "value": "\n " } }, - "07361cbca45a422b96c1cf37e7183db6": { + "991762f218504403aab4a5045928eeaf": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -960,217 +969,47 @@ "width": null } }, - "075327c4e3f94feeb859fddbbc9095a6": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", + "9c518706ffab47e18bc709e870474660": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_544a78955e8f4dde9a2b30ef9d8fadc7", + "msg_id": "", + "outputs": [], + "tabbable": null, + "tooltip": null } }, - "07b2416316c4432ea5d6dfa2fa60bd0f": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "0881300e845f470fa32bc2c4aa56c86c": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "09480f0d376d4d58a2b159350c811e73": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "VBoxModel", - "state": { - "_dom_classes": [ - "widget-interact" - ], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "VBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [ - "IPY_MODEL_ef2226f1799b42ae9ef5f2b23081642c", - "IPY_MODEL_dad1dcf0174d49979bfa7cd0e57aac4b" - ], - "layout": "IPY_MODEL_486effc98e2c4164919bbfb869713e08", - "tabbable": null, - "tooltip": null - } - }, - "099238d7d933441390213b2636fccdba": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "AccordionModel", + "a246b1e8bb4e4afca42a8c424613f486": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "AccordionModel", + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [ - "IPY_MODEL_f3143cd4db58472891f8d2724851825a" - ], - "layout": "IPY_MODEL_1bf64dbd98ec4ac7b5b789250866eb6f", - "selected_index": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_e4f96dafe4b64307972672a5d2070142", + "msg_id": "", + "outputs": [], "tabbable": null, - "titles": [ - "edges" - ], "tooltip": null } }, - "09ec64ebf90a44278d386d97fab37ece": { + "a6bbfc4634fe42998f87227dfcfbdd94": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", @@ -1183,11768 +1022,87 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_866e8f745e564fbea46f9dc41d6b9eae", + "layout": "IPY_MODEL_80839ad46d664b0fa8f2b63ea97e90a2", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, - "0a3a1ca0c21e4f97b52d6a21b4d47700": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "VBoxModel", + "a908fe7070174c5082020ce01c617344": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { - "_dom_classes": [ - "widget-interact" - ], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "VBoxModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [ - "IPY_MODEL_663a890c1658421b8e9b68a560794eef", - "IPY_MODEL_f06354f981344e3dbde8e7b06f5bbcc2" + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_04167fe4ffde46ebb5eea22ecb840b1a", + "msg_id": "", + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "98ce4ff0c513440ea23fb510a3ac79c8", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": "HTML(value='\\n