in plot function 'toRange' to 'to_range' to match

other options