import matplotlib.pyplot as plt
import matplotlib
fig, ax = plt.subplots()
ax.annotate('Matplotlib {}'.format(matplotlib.__version__),
xy=(0.1, 0.1), xytext=(50, 50), size=20,
xycoords='data', textcoords='offset points',
bbox=dict(alpha=0.5, fc='yellow'),
arrowprops=dict(arrowstyle='->'))
plt.show()