Skip to content

Commit 168f622

Browse files
Cosmetics
1 parent 88a682a commit 168f622

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

notebooks/06_basic_counting.ipynb

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "2d32bc61",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"!apt install libgraphviz-dev\n",
11+
"!pip install pygraphviz"
12+
]
13+
},
314
{
415
"cell_type": "markdown",
5-
"id": "387c45ac",
16+
"id": "c70964b6",
617
"metadata": {},
718
"source": [
819
"## Sum Rule"
@@ -95,27 +106,11 @@
95106
},
96107
{
97108
"cell_type": "code",
98-
"execution_count": 1,
109+
"execution_count": null,
99110
"id": "4ede23c2",
100111
"metadata": {},
101-
"outputs": [
102-
{
103-
"name": "stdout",
104-
"output_type": "stream",
105-
"text": [
106-
"zsh:1: command not found: pip\n",
107-
"['s', 'a', 'c', 'd', 't']\n",
108-
"['s', 'a', 'c', 't']\n",
109-
"['s', 'a', 'd', 't']\n",
110-
"['s', 'b', 'c', 'd', 't']\n",
111-
"['s', 'b', 'c', 't']\n",
112-
"['s', 'b', 'e', 't']\n"
113-
]
114-
}
115-
],
112+
"outputs": [],
116113
"source": [
117-
"!pip install pygraphviz\n",
118-
"\n",
119114
"from networkx import DiGraph, all_simple_paths, nx_agraph\n",
120115
"\n",
121116
"edges = [('s', 'a'), ('s', 'b'), ('a', 'c'), ('a', 'd'), ('b', 'c'),\n",

0 commit comments

Comments
 (0)