Explicity set range for 2D line plot
Takes maximal span
Update plot.py
Update plot.py
Merge pull request #7333 from shashank-agg/incorrect_range

 issue #6893: plot does not use the given range.