I\'m using matplotlib to draw something figure while using annotations. The problem I experienced is that the annotation (which is outside the plotting area) is cut off from
Save figure with the bbox_inches argument
bbox_inches
plt.savefig('sample.png', bbox_inches="tight")