plot_graph not defined

plot_graph not defined

yazan Anne Schmid -
Yanıt sayısı: 2

Hi,

I was trying to load the Graph_ML files, but the plot_graph()-function you are calling in the example doesn't work in my code, the error says it isn't defined. Are there any other modules we have to import to make that work? I looked in the NetworkX documentation, but the only mention of plot_graph is in relation to OSMnx. 

Anne Schmid yanıt olarak

Re: plot_graph not defined

yazan Jan Keller -
Hi Anne,
The plot_graph is a custom function defined in the second cell of the notebook. Just run that cell first before any others that use the function.
Best,
Lennart