resolves #19

Replaced `replace_limits` with `scales::replace`