Restore the commented-out calculation of mins & maxes for line plots.  Almost surely, this had
earlier been commented out during a merger by someone who wasn't sure what to do with it.
Deleted a couple lines which I had just added, but I think aren't needed