I have tried this code for making an image to represent as node
from genericconnectionextraction import*
import networkx as nx
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img=mpimg.imread('N:\python\installed files\images\gnd.png')
g=nx.Graph()
for i in range(0,4):
g.add_node(i,image=img)
nx.draw(g)
plt.show()
But,this still gives the red dots located at random positions(As i haven't gave any co-ordinates)
Many warnings are occurred after running the code. some are regarding python version like
axes.hold is deprecated, will be removed in 3.0
what is it all about?