title: Setting active subplot using axes object in matplotlib?
body: <p>The object oriented matplotlib subplots interface is nice, but I am having difficulty using it when calling a function that contains lines like <code>plt.plot(x, y</code>). These functions work with <code>plt.subplot()</code> easily, but is it possible to set the active subplot with a given axes object? Specifically I want something like the following to plot into two seperate subplots:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  x = [0 ,1, 2]
  y= [0 ,1 2]
  
  fig, axs = plt.subplots(2,1)
  
  plt.some_function_to_set_active_subplot(axs[0])
  plt.plot(x, y)
  
  plt.some_function_to_set_active_subplot(axs[1])
  plt.plot(x, y)
  </code></pre>
  
  <p>Does any such function <code>some_function_to_set_active_subplot</code> exist?</p>
  
  <p><em>Edit:</em> I specifically cannot use ax.plot, or anything like that. I am basically asking about how to mix the object oriented interface with the matlab style interface.</p>
  
  <p><em>Edit 2:</em> I don't want to use <code>plt.subplot</code> either. I want to use OO interface for setting up subplots, and matlab-style for the actual plotting.</p>