Skip to content

Commit

Permalink
dvclive: fix log_metric types (#4982)
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored Nov 9, 2023
1 parent 0f8169d commit d7956be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/dvclive/live/log_metric.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Live.log_metric()

```py
def log_metric(name: str, val: float, plot: Optional[bool] = True):
def log_metric(name: str, val: Union[int, float, str], plot: Optional[bool] = True):
```

## Usage
Expand Down

0 comments on commit d7956be

Please sign in to comment.