Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Solution to MTH 325 Guided Practice 7 review question 2.
import networkx as nx
import matplotlib.pyplot as plt
g = nx.Graph( [(0, 3), (1, 2), (1, 4), (2, 3), (3, 4)])
nx.draw(g, with_labels=True, node_color="orange")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.