Ok Figured out the solution but still have a problem.
> There is a function get_ylim which gets you the ymin and
> ymax values. I'm plotting multiple lines on the same axes
> object. However the get_ylim returns different values
> after each plot. I'm currently having to do it a numbe rof
> times and reset my min and max values. Is there a way to
> just do it once where it accounts for all lines plotted on
> the axis?
How about calling the function only once after you have added all the
lines to your plot? Will this work for you?