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

Method clone

hvplot/converter.py:104–112  ·  view source on GitHub ↗

Allows making a copy of the Callable optionally overriding the callable and other parameters.

(self, callable=None, **overrides)

Source from the content-addressed store, hash-verified

102 periodic = param.Parameter()
103
104 def clone(self, callable=None, **overrides):
105 """
106 Allows making a copy of the Callable optionally overriding
107 the callable and other parameters.
108 """
109 old = {k: v for k, v in self.param.values().items() if k not in ['callable', 'name']}
110 params = dict(old, **overrides)
111 callable = self.callable if callable is None else callable
112 return self.__class__(callable, **params)
113
114 def start(self):
115 """

Callers 6

evalMethod · 0.80
drawFunction · 0.80
_apply_layersMethod · 0.80
_merge_redimMethod · 0.80
hvplotMethod · 0.80
scatter_matrixFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected