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

Function explorer

hvplot/ui.py:55–92  ·  view source on GitHub ↗

Explore your data and design your plot via an interactive user interface. This function returns an interactive Panel component that enable you to quickly change the settings of your plot via widgets. Reference: https://hvplot.holoviz.org/user_guide/Explorer.html Parameters ---

(data, **kwargs)

Source from the content-addressed store, hash-verified

53
54
55def explorer(data, **kwargs):
56 """Explore your data and design your plot via an interactive user interface.
57
58 This function returns an interactive Panel component that enable you to quickly change the
59 settings of your plot via widgets.
60
61 Reference: https://hvplot.holoviz.org/user_guide/Explorer.html
62
63 Parameters
64 ----------
65 data : pandas.DataFrame | xarray.DataArray | xarray.Dataset
66 Data structure to explore.
67 **kwargs : optional
68 Arguments that `data.hvplot()` would also accept like `kind='bar'`.
69
70 Returns
71 -------
72 hvplotExplorer
73 Panel component to explore the data and design your plot. See
74 :class:`hvplot.ui.hvPlotExplorer` for details.
75
76 Examples
77 --------
78
79 .. code-block::
80
81 import hvplot.pandas
82 import pandas as pd
83 df = pd.DataFrame({"x": [1, 2, 3], "y": [1, 4, 9]})
84 hvplot.explorer(df)
85
86 You can also specify initial values
87
88 .. code-block::
89
90 hvplot.explorer(df, kind='bar', x='x')
91 """
92 return hvPlotExplorer.from_data(data, **kwargs)
93
94
95def _create_param_pane(inst, widgets_kwargs=None, parameters=None):

Callers

nothing calls this directly

Calls 1

from_dataMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…