Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-python-sdk-testing.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Description
Creates a custom charts using a Vega-Lite specification and awandb.Table.
This function creates a custom chart based on a Vega-Lite specification and
a data table represented by a wandb.Table object. The specification needs
to be predefined and stored in the W&B backend. The function returns a custom
chart object that can be logged to W&B using wandb.Run.log().
Args:
- vega_spec_name: The name or identifier of the Vega-Lite spec that defines the visualization structure.
- data_table: A
wandb.Tableobject containing the data to be visualized. - fields: A mapping between the fields in the Vega-Lite spec and the corresponding columns in the data table to be visualized.
- string_fields: A dictionary for providing values for any string constants required by the custom visualization.
- split_table: Whether the table should be split into a separate section in the W&B UI. If
True, the table will be displayed in a section named “Custom Chart Tables”. Default isFalse.
Returns:
- CustomChart: A custom chart object that can be logged to W&B. To log the chart, pass the chart object as argument to
wandb.Run.log(). - Raises:
- wandb.Error: If
data_tableis not awandb.Tableobject.