Legend and annotations
Legends and annotations are essential for good plots. We can create transparent legends with the legend()
function and let matplotlib
figure out where to place them. Also, with the annotate()
function, we can accurately annotate on a plot. There are a large number of annotation and arrow styles.