MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / gradient

Method gradient

lib/matplotlib/tri/_triinterpolate.py:425–427  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

423 __call__.__doc__ = TriInterpolator._docstring__call__
424
425 def gradient(self, x, y):
426 return self._interpolate_multikeys(x, y, tri_index=None,
427 return_keys=('dzdx', 'dzdy'))
428 gradient.__doc__ = TriInterpolator._docstringgradient
429
430 def _interpolate_single_key(self, return_key, tri_index, x, y):

Callers 6

test_triinterpFunction · 0.95
test_tri_smooth_gradientFunction · 0.95
hillshadeMethod · 0.45
check_continuityFunction · 0.45
alternative_hillshadeFunction · 0.45

Calls 1

Tested by 4

test_triinterpFunction · 0.76
test_tri_smooth_gradientFunction · 0.76
check_continuityFunction · 0.36
alternative_hillshadeFunction · 0.36