fixed issue where setting a plot y minimum higher than the max causes is...

...sues and vice-verca