title: Bipartite graph in NetworkX
body: <pre><code>B.add_nodes_from(a, bipartite=1)
  B.add_nodes_from(b, bipartite=0)
  nx.draw(B, with_labels = True)  
  plt.savefig("graph.png")
  </code></pre>
  
  <p>I am getting the following figure. How can I make it look like a proper bipartite graph?</p>
  
  <p><img src="https://i.stack.imgur.com/Q6Pue.png" alt="My graph"></p>