plot_graph not defined

plot_graph not defined

de Anne Schmid -
Número de respuestas: 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. 

En respuesta a Anne Schmid

Re: plot_graph not defined

de 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