Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
xflr6 committed Dec 9, 2021
1 parent c521086 commit b194dc2
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions examples/graphviz-escapes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663490>"
"<graphviz.graphs.Digraph at 0x211d84834c0>"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -125,7 +125,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663070>"
"<graphviz.graphs.Digraph at 0x211d84839d0>"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -159,11 +159,6 @@
"digraph {\n",
"\tA [label=\"\\\"]\n",
"}\n",
"\n",
"Error: <stdin>: syntax error in line 4 scanning a quoted string (missing endquote? longer than 16384?)\n",
"String starting:\"\"]\n",
"}\n",
"\n",
"\n"
]
}
Expand All @@ -172,7 +167,6 @@
"try:\n",
" make_graph(node_label='\\\\').pipe(format='svg', encoding='utf-8');\n",
"except graphviz.CalledProcessError as e:\n",
" print(e.stderr)\n",
" assert 'syntax error' in e.stderr"
]
},
Expand Down Expand Up @@ -214,7 +208,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663910>"
"<graphviz.graphs.Digraph at 0x211d8483b80>"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -264,7 +258,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b066631c0>"
"<graphviz.graphs.Digraph at 0x211d8483340>"
]
},
"execution_count": 7,
Expand Down Expand Up @@ -321,7 +315,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663430>"
"<graphviz.graphs.Digraph at 0x211d8483730>"
]
},
"execution_count": 8,
Expand Down Expand Up @@ -372,7 +366,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b066b01f0>"
"<graphviz.graphs.Digraph at 0x211d84d0340>"
]
},
"execution_count": 9,
Expand Down Expand Up @@ -425,7 +419,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663f40>"
"<graphviz.graphs.Digraph at 0x211d8483c10>"
]
},
"execution_count": 10,
Expand Down Expand Up @@ -477,7 +471,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x13b06663c10>"
"<graphviz.graphs.Digraph at 0x211d8482f80>"
]
},
"execution_count": 11,
Expand Down

0 comments on commit b194dc2

Please sign in to comment.