Renderers¶
default_holoviews_renderer(hv_obj, *args, **kwargs)
¶
Render a HoloViews Element using the default backend.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
hv_obj |
Element
|
The HoloViews Element to render. |
required |
*args |
tuple[Any]
|
Additional positional arguments to pass to the renderer. |
()
|
**kwargs |
dict[str, Any]
|
Additional keyword arguments to pass to the renderer. |
{}
|
Returns:
Type | Description |
---|---|
Element
|
The rendered HoloViews Element. |
Source code in streamjoy/renderers.py
default_pandas_renderer(df_sub, *args, **kwargs)
¶
Render a pandas DataFrame using matplotlib.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df_sub |
DataFrame
|
The DataFrame to render. |
required |
*args |
tuple[Any]
|
Additional positional arguments to pass to the renderer. |
()
|
**kwargs |
dict[str, Any]
|
Additional keyword arguments to pass to the renderer. |
{}
|
Returns A matplotlib figure.
Source code in streamjoy/renderers.py
default_polars_renderer(df_sub, *args, **kwargs)
¶
Render a polars DataFrame using HoloViews.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df_sub |
DataFrame
|
The DataFrame to render. |
required |
*args |
tuple[Any]
|
Additional positional arguments to pass to the renderer. |
()
|
**kwargs |
dict[str, Any]
|
Additional keyword arguments to pass to the renderer. |
{}
|
Returns:
Type | Description |
---|---|
Element
|
The rendered HoloViews Element. |
Source code in streamjoy/renderers.py
default_xarray_renderer(da_sel, *args, **kwargs)
¶
Render an xarray DataArray using matplotlib.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
da_sel |
DataArray
|
The DataArray to render. |
required |
*args |
tuple[Any]
|
Additional positional arguments to pass to the renderer. |
()
|
**kwargs |
dict[str, Any]
|
Additional keyword arguments to pass to the renderer. |
{}
|
Returns:
Type | Description |
---|---|
Figure
|
A matplotlib figure. |