code: def rescale_by(self, scale_x, scale_y, detail):
          
          self.rescale_by_factors((scale_x, scale_y), detail)
docs: For backward compatibility.  TO BE DEPRECATED--DO NOT USE.
          Use rescale_by_factors() instead.