I tried using graph viz for the first time, so I downloaded Graphviz using pip install and imported it. Then I took this code from the website and pasted it in the notebook:
strict graph {
a – b
a – b
b – a [color=blue]
}
However, it gave me this error:
Could this be a download error or a code error?
Looks like you’re trying to execute graphviz code directly as python code, and graphviz source isn’t valid python syntax (they’re different languages).