code: def test_square_rescale_manual(self):
      points = np.array(
          [(0, 0), (0, 100), (10, 100), (10, 0), (1, 5)],
          dtype=np.double,
      )
      points_rescaled = np.array(
          [(0, 0), (0, 1), (1, 1), (1, 0), (0.1, 0.05)], dtype=np.double
      )
      values = np.array([1.0, 2.0, -3.0, 5.0, 9.0], dtype=np.double)
  
      xx, yy = np.broadcast_arrays(
          np.linspace(0, 10, 14)[:, None],
          np.linspace(0, 100, 14)[None, :],
      )
      xx = xx.ravel()
      yy = yy.ravel()
      xi = np.array([xx, yy]).T.copy()
  
      for method in ("nearest", "linear", "cubic"):
          msg = method
          zi = griddata(
              points_rescaled,
              values,
              xi / np.array([10, 100.0]),
              method=method,
          )
          zi_rescaled = griddata(
              points, values, xi, method=method, rescale=True
          )
          assert_allclose(zi, zi_rescaled, err_msg=msg, atol=1e-12)
  
file_path: catboost/contrib/python/scipy/py2/scipy/interpolate/tests/test_ndgriddata.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_equal, assert_array_equal, assert_allclose
  from pytest import raises
  from scipy.interpolate import griddata, NearestNDInterpolator
label_desc: Use image node_id 9 for calling the TestGriddata obj's underlying member method code with example usage: obj.test_square_rescale_manual() without return types