hvplot.ui.explorer#

hvplot.ui.explorer(data, **kwargs)[source]#

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:
datapandas.DataFrame | xarray.DataArray | xarray.Dataset

Data structure to explore.

**kwargsoptional

Arguments that data.hvplot() would also accept like kind=’bar’.

Returns:
hvplotExplorer

Panel component to explore the data and design your plot. See hvplot.ui.hvplotExplorer for details.

Examples

import hvplot.pandas
import pandas as pd
df = pd.DataFrame({"x": [1, 2, 3], "y": [1, 4, 9]})
hvplot.explorer(df)

You can also specify initial values

hvplot.explorer(df, kind='bar', x='x')