Data Options#

This page is work in progress.

Parameters

Description

attr_labels (bool or None, default=None)

Whether to use an xarray object’s attributes as labels, defaults to None to allow best effort without throwing a warning. Set to True to see warning if the attrs can’t be found, set to False to disable the behavior.

by (str or list of str or None, default=None)

Dimension(s) by which to group the data categories. An NdOverlay is returned by default unless subplots=True, then an NdLayout is returned.

dynamic (bool, default=True)

Whether to return a dynamic plot which sends updates on widget and zoom/pan events or whether all the data should be embedded (warning: for large groupby operations embedded data can become very large if dynamic=False)

fields (dict, default={})

A dictionary of fields for renaming or transforming data dimensions.

groupby (str or list or None, default=None)

Dimension(s) by which to group data, enabling widgets. Returns a DynamicMap if dynamic=True, else returns a HoloMap. See dynamic for more information.

group_label (str or None, default=None)

Label for grouped data, typically in legends or axis labels.

kind (str, default=’line’)

The type of plot to generate.

label (str or None, default=None)

Label for the data, typically used in the plot title or legends.

persist (bool, default=False)

Whether to persist the data in memory when using dask.

robust (bool or None, default=None)

If True and clim are absent, the colormap range is computed with 2nd and 98th percentiles instead of the extreme values for image elements. For RGB elements, clips the “RGB”, or raw reflectance values between 2nd and 98th percentiles. Follows the same logic as xarray’s robust option.

row (str or None, default=None)

Column name to use for splitting the plot into separate subplots by rows.

col (str or None, default=None)

Column name to use for splitting the plot into separate subplots by columns.

sort_date (bool, default=True)

Whether to sort the x-axis by date before plotting

subplots (bool, default=False)

Whether to display data in separate subplots when using the by parameter.

symmetric (bool or None, default=None)

Whether the data are symmetric around zero. If left unset, the data will be checked for symmetry as long as the size is less than check_symmetric_max.

check_symmetric_max (int, default=1000000)

Size above which to stop checking for symmetry by default on the data.

transforms (dict, default={})

A dictionary of HoloViews dim transforms to apply before plotting

use_dask (bool, default=False)

Whether to use dask for processing the data, helpful for large datasets that do not fit into memory.

use_index (bool, default=True)

Whether to use the data’s index for the x-axis by default. if hover_cols == 'all', adds the index to the hover tools.

value_label (str, default=’value’)

Label for the data values, typically used for the y-axis or in legends.

by#

Text TBD.

import hvplot.pandas  # noqa
from bokeh.sampledata.penguins import data as df

df.hvplot.scatter(x='bill_length_mm', y='bill_depth_mm', by='species')

dynamic#

TBD.

This web page was generated from a Jupyter notebook and not all interactivity will work on this website.