From 8547361715279d729ae582c51abd759c48a8e718 Mon Sep 17 00:00:00 2001 From: Andreas Zeller Date: Sun, 30 Jun 2024 18:48:29 +0200 Subject: [PATCH] New: have SVGs with links --- notebooks/Grammars.ipynb | 2 +- notebooks/Tours.ipynb | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/notebooks/Grammars.ipynb b/notebooks/Grammars.ipynb index 5c673a2b9..86f4e658a 100644 --- a/notebooks/Grammars.ipynb +++ b/notebooks/Grammars.ipynb @@ -4601,7 +4601,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.6" + "version": "3.10.2" }, "toc": { "base_numbering": 1, diff --git a/notebooks/Tours.ipynb b/notebooks/Tours.ipynb index fbbf3909f..bdc618f0d 100644 --- a/notebooks/Tours.ipynb +++ b/notebooks/Tours.ipynb @@ -41,7 +41,7 @@ "outputs": [], "source": [ "# ignore\n", - "from bookutils import rich_output" + "from bookutils import rich_output, InteractiveSVG" ] }, { @@ -53,8 +53,7 @@ "# ignore\n", "sitemap = None\n", "if rich_output():\n", - " from IPython.display import SVG\n", - " sitemap = SVG(filename='PICS/Sitemap.svg')\n", + " sitemap = InteractiveSVG(filename='PICS/Sitemap.svg')\n", "sitemap" ] }, @@ -311,7 +310,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.2 (main, Apr 22 2022, 17:40:25) [Clang 13.1.6 (clang-1316.0.21.2.3)]" + "version": "3.10.2" }, "toc": { "base_numbering": 1,