with PdfPages('review_count.pdf') as pdf:
    plt.figure()
plt.axis('off')
plt.text(0.5, 0.5, 'my title', ha='center', va='center')
pdf.savefig()
How to create a title page for a PDF document created using matplotlib