In [9]:
import networkx as nx

In [10]:
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [11]:
G=nx.heawood_graph()

In [12]:
nx.draw(G)



In [13]:
G2=nx.pappus_graph()
nx.draw(G2)



In [17]:
G3=nx.lollipop_graph(6,1)
nx.draw(G3)



In [18]:
G4=nx.random_lobster(10, 0.1, 0.5)
nx.draw(G4)



In [19]:
G5=nx.florentine_families_graph()
nx.draw(G5)



In [ ]: