Skip to content

Commit 7e09c41

Browse files
authored
document plots diff/show --open flag (#2293)
1 parent 37cd9b1 commit 7e09c41

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

content/docs/command-reference/plots/diff.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ usage: dvc plots diff [-h] [-q | -v]
1111
[-t <name_or_path>] [-x <field>] [-y <field>]
1212
[--no-header] [--title <text>]
1313
[--x-label <text>] [--y-label <text>] [-o <path>]
14-
[--show-vega]
14+
[--show-vega] [--open]
1515
[revisions [revisions ...]]
1616
1717
positional arguments:
@@ -91,6 +91,8 @@ all the current plots, without comparisons.
9191
[Vega specification](https://vega.github.io/vega/docs/specification/) file
9292
instead of HTML. See `dvc plots` for more info.
9393

94+
- `--open` - opens the generated plot directly in the browser.
95+
9496
- `--no-header` - lets DVC know that CSV or TSV `--targets` do not have a
9597
header. A 0-based numeric index can be used to identify each column instead of
9698
names.

content/docs/command-reference/plots/show.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Generate [plot](/doc/command-reference/plots) from a metrics file.
88
usage: dvc plots show [-h] [-q | -v] [-t <name_or_path>] [-x <field>]
99
[-y <field>] [--no-header] [--title <text>]
1010
[--x-label <text>] [--y-label <text>] [-o <path>]
11-
[--show-vega]
11+
[--show-vega] [--open]
1212
[targets [targets ...]]
1313
1414
positional arguments:
@@ -65,6 +65,8 @@ please see `dvc plots`.
6565
[Vega specification](https://vega.github.io/vega/docs/specification/) file
6666
instead of HTML. See `dvc plots` for more info.
6767

68+
- `--open` - opens the generated plot directly in the browser.
69+
6870
- `--no-header` - lets DVC know that CSV or TSV `targets` do not have a header.
6971
A 0-based numeric index can be used to identify each column instead of names.
7072

0 commit comments

Comments
 (0)