Home » Python » python – How to render digraphs using graphviz on Jupyter notebook-Exceptionshub

python – How to render digraphs using graphviz on Jupyter notebook-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I made a digraph using graphviz on Jupyter notebook python.

This is my code

digraph_n = graphviz.Digraph(name='digraph node')
digraph_n.node("student_1")
digraph_n.node("student_2")
digraph_n.node("student_3")

digraph_n

This prints the image of Digraph in output cell but unlike from using matplotlib and seaborn, other users cannot view the output image when I share this Jupyter Notebook file.

Why is it? Does it have anything to do with installing Graphviz from the link below? https://graphviz.gitlab.io/_pages/Download/Download_windows.html

Thank you

How to&Answers: