title: Add text with PdfPages - matplotlib
body: <p>Following this <a href="https://matplotlib.org/examples/pylab_examples/multipage_pdf.html" rel="noreferrer">example</a> of the official documentation, I can create a pdf file with the plots that I want in different pages. But I would like to add some text to the page(not inside the plot) and I've tried in this way without success:</p>
  
  <pre><code>with PdfPages('multipage_pdf.pdf') as pdf:
      fig = plt.figure(figsize=(11.69,8.27))
      x = df1.index
      y1 = df1[col1]
      y2 = df1[col2]
      plt.plot(x, y1, label=col1)
      plt.plot(x, y2, label=col2)
      plt.legend(loc='best')
      plt.grid(True)
      plt.title('Title')
      txt = 'this is an example'
      plt.text(1,1,txt)
      pdf.savefig()
      plt.close()
  </code></pre>
  
  <p>How can I show also the text <code>this is an example</code>?
  Is it possible to create also a first page with only text?
  Thanks in advance</p>