import matplotlib.pyplot as plt
import networkx as nx
G = nx.grid_2d_graph(5, 5)
nx.draw(G)
plt.show()
Created
May 23, 2020 15:15
-
-
Save mzsima/8c6feb26b28b2b785b748ffce5bcb94d to your computer and use it in GitHub Desktop.
5x5 grid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment