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

Method get_trifinder

lib/matplotlib/tri/_triangulation.py:193–203  ·  view source on GitHub ↗

Return the default `matplotlib.tri.TriFinder` of this triangulation, creating it if necessary. This allows the same TriFinder object to be easily shared.

(self)

Source from the content-addressed store, hash-verified

191 return x, y, triangles, mask, args, kwargs
192
193 def get_trifinder(self):
194 """
195 Return the default `matplotlib.tri.TriFinder` of this
196 triangulation, creating it if necessary. This allows the same
197 TriFinder object to be easily shared.
198 """
199 if self._trifinder is None:
200 # Default TriFinder class.
201 from matplotlib.tri._trifinder import TrapezoidMapTriFinder
202 self._trifinder = TrapezoidMapTriFinder(self)
203 return self._trifinder
204
205 @property
206 def neighbors(self):

Callers 5

test_trifinderFunction · 0.95
test_triinterp_colinearFunction · 0.95
test_trirefineFunction · 0.95
__init__Method · 0.80

Calls 1

Tested by 3

test_trifinderFunction · 0.76
test_triinterp_colinearFunction · 0.76
test_trirefineFunction · 0.76