Skip to content

Commit

Permalink
New: have SVGs with links
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Jun 30, 2024
1 parent 6c259b4 commit 8547361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion notebooks/Grammars.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4601,7 +4601,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.10.2"
},
"toc": {
"base_numbering": 1,
Expand Down
7 changes: 3 additions & 4 deletions notebooks/Tours.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"outputs": [],
"source": [
"# ignore\n",
"from bookutils import rich_output"
"from bookutils import rich_output, InteractiveSVG"
]
},
{
Expand All @@ -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"
]
},
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8547361

Please sign in to comment.