
| Current Path : /proc/thread-self/root/usr/local/share/doc/networkx-2.5/examples/drawing/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //proc/thread-self/root/usr/local/share/doc/networkx-2.5/examples/drawing/plot_simple_path.py |
""" =========== Simple Path =========== Draw a graph with matplotlib. """ import matplotlib.pyplot as plt import networkx as nx G = nx.path_graph(8) nx.draw(G) plt.show()