Create pdf with tooltips in python,plt.savefig('tooltips.pdf')