Skip to content

Commit 5e99c46

Browse files
committed
clear and re-run all notebooks
1 parent 64034fa commit 5e99c46

File tree

4 files changed

+11368
-24
lines changed

4 files changed

+11368
-24
lines changed

docs/examples/ogdf-includes.ipynb

Lines changed: 11070 additions & 6 deletions
Large diffs are not rendered by default.

docs/examples/pitfalls.ipynb

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,33 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 12,
6-
"metadata": {},
5+
"execution_count": 1,
6+
"metadata": {
7+
"execution": {
8+
"iopub.execute_input": "2021-08-24T10:58:14.153940Z",
9+
"iopub.status.busy": "2021-08-24T10:58:14.148080Z",
10+
"iopub.status.idle": "2021-08-24T10:58:15.516738Z",
11+
"shell.execute_reply": "2021-08-24T10:58:15.516246Z"
12+
}
13+
},
714
"outputs": [],
815
"source": [
9-
"# %env OGDF_BUILD_DIR=~/ogdf/build-debug # uncomment if you didn't set this globally\n",
16+
"# uncomment if you didn't set this globally:\n",
17+
"# %env OGDF_BUILD_DIR=~/ogdf/build-debug\n",
1018
"from ogdf_python import ogdf, cppinclude"
1119
]
1220
},
1321
{
1422
"cell_type": "code",
15-
"execution_count": null,
16-
"metadata": {},
23+
"execution_count": 2,
24+
"metadata": {
25+
"execution": {
26+
"iopub.execute_input": "2021-08-24T10:58:15.624361Z",
27+
"iopub.status.busy": "2021-08-24T10:58:15.623930Z",
28+
"iopub.status.idle": "2021-08-24T10:58:15.718569Z",
29+
"shell.execute_reply": "2021-08-24T10:58:15.718211Z"
30+
}
31+
},
1732
"outputs": [],
1833
"source": [
1934
"cppinclude(\"ogdf/layered/SugiyamaLayout.h\")\n",
@@ -39,12 +54,18 @@
3954
},
4055
{
4156
"cell_type": "code",
42-
"execution_count": 7,
43-
"metadata": {},
57+
"execution_count": 3,
58+
"metadata": {
59+
"execution": {
60+
"iopub.execute_input": "2021-08-24T10:58:15.728104Z",
61+
"iopub.status.busy": "2021-08-24T10:58:15.727751Z",
62+
"iopub.status.idle": "2021-08-24T10:58:15.899897Z",
63+
"shell.execute_reply": "2021-08-24T10:58:15.899528Z"
64+
}
65+
},
4466
"outputs": [],
4567
"source": [
46-
"from itertools import count\n",
47-
"for i in count(5):\n",
68+
"for i in range(5):\n",
4869
" CGA = CG = G = None # deletion order is important when overwriting parents of dependant objects\n",
4970
" G = ogdf.Graph()\n",
5071
" CG = ogdf.ClusterGraph(G)\n",
@@ -68,9 +89,9 @@
6889
"name": "python",
6990
"nbconvert_exporter": "python",
7091
"pygments_lexer": "ipython3",
71-
"version": "3.8.5"
92+
"version": "3.9.6"
7293
}
7394
},
7495
"nbformat": 4,
7596
"nbformat_minor": 4
76-
}
97+
}

docs/examples/refresh.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
find -maxdepth 1 -name "*.ipynb" -exec jupyter nbconvert --to=notebook --inplace --ExecutePreprocessor.enabled=True {} \;

0 commit comments

Comments
 (0)