Skip to main content

function bar

Constructs a bar chart from a wandb.Table of data. Args:
  • table: A table containing the data for the bar chart.
  • label: The name of the column to use for the labels of each bar.
  • value: The name of the column to use for the values of each bar.
  • title: The title of the bar chart.
  • 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 is False.
Returns:
  • CustomChart: A custom chart object that can be logged to W&B. To log the chart, pass it to wandb.log().
Example: