Skip to main content

function wandb.plot.bar()

Constructs a bar chart from a wandb.Table of data.

Args

wandb.Table
A table containing the data for the bar chart.
str
The name of the column to use for the labels of each bar.
str
The name of the column to use for the values of each bar.
str
The title of the bar chart.
bool
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().

Examples