mend
Fixed vertical position of legend in plot

Fixed issues:
- The AnchoredOffsetbox was originally set to at add loc=6 which
  vertically centers the legend in the plot, creating legends that were
  too high or too low compared to the upper plot edge.
- legends with many items would often overlap due to the spacing between
  separate legends being constant