bencher.results.holoview_results.tabulator_result
Classes
Module Contents
- class bencher.results.holoview_results.tabulator_result.TabulatorResult(bench_cfg: bencher.bench_cfg.BenchCfg)
Bases:
bencher.results.holoview_results.holoview_result.HoloviewResult- to_plot(**kwargs) panel.widgets.Tabulator
Create an interactive table visualization of the data.
Passes the data to the panel Tabulator type to display an interactive table. See https://panel.holoviz.org/reference/widgets/Tabulator.html for extra options.
- Parameters:
**kwargs – Additional parameters to pass to the Tabulator constructor.
- Returns:
An interactive table widget.
- Return type:
pn.widgets.Tabulator
- to_tabulator(result_var: param.Parameter | None = None, **kwargs) panel.widgets.Tabulator
Generates a Tabulator widget from benchmark data.
This is a convenience method that calls to_tabulator_ds() with the same parameters.
- Parameters:
result_var (Parameter, optional) – The result variable to include in the table. If None, uses the default.
**kwargs – Additional keyword arguments passed to the Tabulator constructor.
- Returns:
An interactive table widget.
- Return type:
pn.widgets.Tabulator
- to_tabulator_ds(dataset: xarray.Dataset, result_var: param.Parameter, **kwargs) panel.widgets.Tabulator
Creates a Tabulator widget from the provided dataset.
Given a filtered dataset, this method generates an interactive table visualization.
- Parameters:
dataset (xr.Dataset) – The filtered dataset to visualize.
result_var (Parameter) – The result variable to include in the table.
**kwargs – Additional keyword arguments passed to the Tabulator constructor.
- Returns:
An interactive table widget.
- Return type:
pn.widgets.Tabulator