title: How could I arrange multiple pyplot figures in a kind of layout?
body: <p>I created a software to do signal analyses. There are multiple functions, and each finally display a complex figure containing labels, plot, axhspan, axvspan etc... Usually, these functions are called individually. Everyone of my functions returns a figure object, that I can save in pdf for example.</p>
  
  <pre><code>def Myfunction1(self):
      fig = pyplot.figure()
      ...do somestuff, create my figure
      pyplot.show()
      fig.savefig('C:\MyFigurefolder\figure1.pdf', dpi=300)
      return fig
  
  def Myfunction2(self):
      fig = pyplot.figure()
      ...do some other stuff, create my 2nd figure
      pyplot.show()
      fig.savefig('C:\MyFigurefolder\figure2.pdf', dpi=300)
      return fig
  </code></pre>
  
  <p>Now, I would like to create a kind of "summary figure", by doing a metaanalyses, and pooling multiple figures together, and saving them in a final pdf.
  I don't really know how I should do that. Is there a way to use whole figure objects, (or maybe the multiple individual pdf) to do my figure?</p>
  
  <p>Something like:</p>
  
  <pre><code>def FinalFigure(self):
  
      final = A_Kind_Of_Layout_Or_A_Figure_or_something
  
      a=self.Myfunction1()
      b=self.Myfunction2()
  
      Action_to_arrange_a_and_b_like_gridspec
  
      final.savefig('C:\MyFigurefolder\FinalFigure.pdf', dpi=300)
  </code></pre>