In [19]:
import networkx as nx

In [20]:
G=nx.complete_bipartite_graph(1,5)
G.name="star_graph(%d)"% 5

In [21]:
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [22]:
nx.draw(G)



In [22]: