code: def get_time_position(self, time):
          
          if time < self._start or time > self._finish:
              raise ValueError("time argument out of bounds")
          return (time - self._start) / (self._resolution / self._zoom_factor)
docs: Get x-coordinate for given time
  
          :param time: Time to determine x-coordinate on Canvas for
          :type time: float
          :return: X-coordinate for the given time
          :rtype: int
          :raises: ValueError