Skip to content

Commit

Permalink
support lists for log_plot y val (#5289)
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum committed Aug 5, 2024
1 parent 298ed3a commit 7082ce3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/dvclive/live/log_plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def log_plot(
name: str,
datapoints: pd.DataFrame | np.ndarray | List[Dict],
x: str,
y: str,
y: Union[str, list[str]],
template: Optional[str] = None,
title: Optional[str] = None,
x_label: Optional[str] = None,
Expand Down Expand Up @@ -72,7 +72,8 @@ or [DVC Studio](/doc/studio/user-guide/experiments/visualize-and-compare).

- `x` - name of the key (present in the dictionaries) to use as the `x` axis.

- `y` - name of the key (present in the dictionaries) to use as the `y` axis.
- `y` - name of the key or keys (present in the dictionaries) to use as the `y`
axis.

- `template` - name of the
[DVC plots template](/doc/user-guide/experiment-management/visualizing-plots#plot-templates-data-series-only)
Expand Down

0 comments on commit 7082ce3

Please sign in to comment.