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

Method widgets

hvplot/interactive.py:855–871  ·  view source on GitHub ↗

Returns a Column of widgets which control the interactive output. Returns ------- A Column of widgets

(self)

Source from the content-addressed store, hash-verified

853 return pn.panel(self._callback, **kwargs)
854
855 def widgets(self):
856 """
857 Returns a Column of widgets which control the interactive output.
858
859 Returns
860 -------
861 A Column of widgets
862 """
863 widgets = []
864 for p in self._fn_params:
865 if isinstance(p.owner, pn.widgets.Widget) and p.owner not in widgets:
866 widgets.append(p.owner)
867 for op in self._transform.ops:
868 for w in _find_widgets(op):
869 if w not in widgets:
870 widgets.append(w)
871 return pn.Column(*widgets)
872
873
874class _hvplot:

Calls 1

_find_widgetsFunction · 0.85