Skip to content

Commit

Permalink
update (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
imhardikj authored Jul 7, 2020
1 parent 0c8484d commit 8ff34c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion content/docs/command-reference/plots/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,21 @@ file:///Users/dmitry/src/plots/logs.html
Compare two specific versions (commit hashes, tags, or branches):

```dvc
$ dvc plots diff --targets logs.csv HEAD 0135527
$ dvc plots diff HEAD 0135527 --targets logs.csv
file:///Users/usr/src/plots/logs.csv.html
```

![](/img/plots_diff.svg)

> Alternatively, you can also run above statement as:
>
> ```dvc
> $ dvc plots diff --targets logs.csv -- HEAD 0135527
> ```
>
> When you're specifying multiple revisions after `--targets`, use `--` so that
> argument parser doesn't confuse them as options for `--targets` argument.
## Example: Confusion matrix
We'll use tabular metrics file `classes.csv` for this example:
Expand Down

0 comments on commit 8ff34c8

Please sign in to comment.