does this code run on python 2.7 ..because I am not getting the graph all I get is this output problem is that there is no create_png() for the G variable thanx
may be this is because I am running the code from within PyCharm instead of notebook ? that is why the image is not displaying ? I am installing notebook right now and will check further more ..I think I cannot access my files unless I am running notebook locally .
@@IndianPythonista I am using pydot3 and couldn't find any create_png() method in G. I also tried both Pycharm and Jupyter Notebook but it ends up in error.
An invaluable application of this tool. Thanks for the knowledge, Nikhil!
How can I save the image?
great video. Please tell me how to change the layout to more compacted one as it is spreaded horizontally
Good job.
When would you use 'from graphviz import Digraph' versus 'import pydot'? Or PyGraphviz?
Could you please explain me how to make a custom graphs?
Great little lesson, thank you!
Very useful Thanks. 👍👍
Very informative. Thanks!
Code here: github.com/nikhilkumarsingh/PyDot-Examples
how to add the root directory of windows I am getting error
anyone know a library that can do this but also create a clickable node to explore the contents of a node?
Checkout D3Js
Very nice. Do you know how to put lables, such as letters and numbers for all edges within for loop.
You can use the optional parameter "label" in the add_edge function of class Graph for setting the edge label.
Nice Video.. how do I animate this plot?
How bout taking him to a party ?
Can I know what is the format of your dataset for this demonstration?
There is no dataset as such. Graph has been created from the directory tree of my OS by traversing through it and making graph nodes at the same time.
@@IndianPythonista I see what you mean. Thanks for clarifying.
does this code run on python 2.7 ..because I am not getting the graph all I get is this output
problem is that there is no create_png() for the G variable
thanx
I hope you are not using pydot3as it is the Python 3 interface. Use Python 2 compatible version of Pydot
may be this is because I am running the code from within PyCharm instead of notebook ? that is why the image is not displaying ? I am installing notebook right now and will check further more ..I think I cannot access my files unless I am running notebook locally .
@@IndianPythonista I am using pydot3 and couldn't find any create_png() method in G. I also tried both Pycharm and Jupyter Notebook but it ends up in error.
Thank you :)
great video!
what linux distro is this?
Ubuntu
@@IndianPythonista Which shell? It seems like ZSH. And which DE too for Ubuntu?
Thank you
Can i have your picture
Picture for what?
your walpaper pict