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