MCPcopy Create free account
hub / github.com/holoviz/hvplot / __init__

Method __init__

hvplot/plotting/core.py:46–55  ·  view source on GitHub ↗
(self, data, custom_plots={}, **metadata)

Source from the content-addressed store, hash-verified

44 __all__ = []
45
46 def __init__(self, data, custom_plots={}, **metadata):
47 if 'query' in metadata:
48 data = data.query(metadata.pop('query'))
49 if 'sel' in metadata:
50 data = data.sel(**metadata.pop('sel'))
51 if 'isel' in metadata:
52 data = data.isel(**metadata.pop('isel'))
53 self._data = data
54 self._plots = custom_plots
55 self._metadata = metadata
56
57 def __call__(self, x=None, y=None, kind=None, **kwds):
58 # Convert an array-like to a list

Callers

nothing calls this directly

Calls 2

selMethod · 0.80
iselMethod · 0.80

Tested by

no test coverage detected