MCPcopy Index your code
hub / github.com/holoviz/hvplot / isel

Method isel

hvplot/xarray.py:28–36  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

26 sel.__doc__ = xr.DataArray.sel.__doc__
27
28 def isel(self, **kwargs):
29 processed = {}
30 for k, v in kwargs.items():
31 if isinstance(v, type) and issubclass(v, Widget):
32 if hasattr(v, 'end'):
33 v = v(name=k, end=len(self._current[k]))
34 processed[k] = v
35 self._method = 'isel'
36 return self.__call__(**processed)
37
38 isel.__doc__ = xr.DataArray.isel.__doc__
39

Callers 8

rgbMethod · 0.80
__init__Method · 0.80
setUpMethod · 0.80
test_cticksMethod · 0.80

Calls 1

__call__Method · 0.45

Tested by 6

setUpMethod · 0.64
test_cticksMethod · 0.64