title: Numbering figure windows using the subplots command in matplotlib.pyplot
body: <p>Is there a way to number the figure when using the subplots in command in matplotlib.pyplot?
  When I want to have a single plot in the figure, I can use</p>
  <pre><code>import matplotlib.pyplot as plt
  plt.figure(2)
  plot(x,y)
  </code></pre>
  <p>And this creates Figure 2 and plots the plot in it. However, I can't do the same when using subplots</p>
  <pre><code>plt.figure(3)
  f, ax = plt.subplots(1,2)
  ax[0].plot(x,y)
  </code></pre>
  <p>This basically displays a new figure 3 and then another figure 4 which has the subplots in it. I want to number the one that has the subplots.</p>
  <p>Thanks in advance.</p>