Might want to add to the docstring that x and y are scaled.