title: Plotting two y axes in a bar plot for list of lists
body: <p>I have two lists of lists as follows.</p>
  
  <pre><code>list1=[[0,2],[1,4],[2,5]]
  list2=[[0,3.5],[1,9],[2,0.2]]
  </code></pre>
  
  <p>I want to have a bar plot of both the lists side by side with two y axes. The X-axis values are same for both (1st elements of the lists inside).</p>
  
  <p>I have managed to have them on the same plot but with only one y axis with the following code.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  %matplotlib inline
  x1,y1 = zip(*list1)
  x2,y2 = zip(*list2)
  plt.figure()
  plt.bar(np.array(x1)-0.15, y1, width = 0.3)
  plt.bar(np.array(x2)+0.15, y2, width = 0.3)
  
  plt.xticks(range(min(x1+x2), max(x1+x2)+1))
  </code></pre>