I'm generating numerous plots with xlim
and ylim
values that I'm calculating on a per-plot basis. I want to put my legend outside the plot area (just above the box around the actual plot), but I can't figure out how to get the maximum y-value of the box around my plot area.
Is there a method for even doing this? I can move the legend where I want it by manually changing the legend()
x and y values, but this takes a LONG time for the amount of graphs I'm creating.
Thanks!
-JM
See Question&Answers more detail:os