hvplot.ui.hvPlotExplorer#
- class hvplot.ui.hvPlotExplorer(df, **params)[source]#
- Attributes:
- advanced
- axes
- colormapping
- geographic
- kind
- labels
- operations
- statusbar
- style
- x
- y
Methods
hvplot
()Return the plot as a HoloViews object.
plot_code
([var_name])Return a string representation that can be easily copy-pasted in a notebook cell to create a plot from a call to the .hvplot accessor, and that includes all the customized settings of the explorer.
save
(filename, **kwargs)Save the plot to file.
settings
()Return a dictionary of the customized settings.
from_data
Parameter Definitions
kind = Selector(label='Kind', names={}, objects=[])
x = Selector(label='X', names={}, objects=[])
y = Selector(label='Y', names={}, objects=[])
y_multi = ListSelector(default=[], names={}, objects=[])
by = ListSelector(default=[], label='By', names={}, objects=[])
groupby = ListSelector(default=[], label='Groupby', names={}, objects=[])
axes = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Axes'>, label='Axes')
colormapping = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Colormapping'>, label='Colormapping')
labels = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Labels'>, label='Labels')
geographic = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Geographic'>, label='Geographic')
operations = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Operations'>, label='Operations')
statusbar = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.StatusBar'>, label='Statusbar')
style = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Style'>, label='Style')
advanced = ClassSelector(allow_None=True, class_=<class 'hvplot.ui.Advanced'>, label='Advanced')
code = String(default='', label='Code')
Code to generate the plot.
Methods
__init__
(df, **params)from_data
(data, **params)hvplot
()Return the plot as a HoloViews object.
plot_code
([var_name])Return a string representation that can be easily copy-pasted in a notebook cell to create a plot from a call to the .hvplot accessor, and that includes all the customized settings of the explorer.
save
(filename, **kwargs)Save the plot to file.
servable
([title, location, area, target])Serves the object or adds it to the configured pn.state.template if in a panel serve context, writes to the DOM if in a pyodide context and returns the Panel object to allow it to display itself in a notebook context.
settings
()Return a dictionary of the customized settings.
show
([title, port, address, ...])Starts a Bokeh server and displays the Viewable in a new tab.
Attributes
advanced
axes
by
code
colormapping
geographic
groupby
kind
labels
name
operations
param
statusbar
style
x
y
y_multi