Skip to main content

function wandb.plot.line()

Constructs a customizable line chart.

Args

wandb.Table
The table containing data for the chart.
str
Column name for the x-axis values.
str
Column name for the y-axis values.
str | None
Column name to differentiate line strokes (e.g., for grouping lines).
str
Title of the 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