From 3afea038f026a645a1ce8ecc1342d8362e6182b9 Mon Sep 17 00:00:00 2001 From: "restyled-io[bot]" <32688539+restyled-io[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 12:33:46 -0500 Subject: [PATCH] Restyled by prettier (#3857) Co-authored-by: Restyled.io --- content/docs/command-reference/plots/diff.md | 16 +++++++++------- content/docs/command-reference/plots/modify.md | 2 +- content/docs/command-reference/plots/show.md | 6 +++--- content/docs/user-guide/plots.md | 7 ++++--- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/content/docs/command-reference/plots/diff.md b/content/docs/command-reference/plots/diff.md index 77ad8a28b2..891cb14bf0 100644 --- a/content/docs/command-reference/plots/diff.md +++ b/content/docs/command-reference/plots/diff.md @@ -39,8 +39,9 @@ All plots defined in `dvc.yaml` are used by default, but specific files can be specified with the `--targets` option (any valid plots file is accepted). The plot style can be customized with -[plot templates](/doc/user-guide/plots#plot-templates-data-series-only), using the `--template` -option. To learn more about plots files and templates please see `dvc plots`. +[plot templates](/doc/user-guide/plots#plot-templates-data-series-only), using +the `--template` option. To learn more about plots files and templates please +see `dvc plots`. > Note that the default behavior of this command can be modified per metrics > file with `dvc plots modify`. @@ -66,9 +67,9 @@ all the current plots, without comparisons. [`plots.out_dir`](/doc/command-reference/config#plots) config option. - `-t , --template ` - - [plot template](/doc/user-guide/plots#plot-templates-data-series-only) to be injected with - data. The default template is `.dvc/plots/default.json`. See more details in - `dvc plots`. + [plot template](/doc/user-guide/plots#plot-templates-data-series-only) to be + injected with data. The default template is `.dvc/plots/default.json`. See + more details in `dvc plots`. - `-x ` - field name from which the X axis data comes from. An auto-generated `index` field is used by default. See @@ -146,8 +147,9 @@ cat,turtle ... ``` -The predefined confusion matrix [template](/doc/user-guide/plots#plot-templates-data-series-only) -(in `.dvc/plots/confusion.json`) shows how metrics comparisons can be faceted by +The predefined confusion matrix +[template](/doc/user-guide/plots#plot-templates-data-series-only) (in +`.dvc/plots/confusion.json`) shows how metrics comparisons can be faceted by separate plots. It can be enabled with `-t` (`--template`): ```cli diff --git a/content/docs/command-reference/plots/modify.md b/content/docs/command-reference/plots/modify.md index 5460e3375c..7dacbd53c0 100644 --- a/content/docs/command-reference/plots/modify.md +++ b/content/docs/command-reference/plots/modify.md @@ -44,7 +44,7 @@ Note that a secondary use of this command is to convert output or simple ## Options - `-t , --template ` - set a default -[plot template](/doc/user-guide/plots#plot-templates-data-series-only). + [plot template](/doc/user-guide/plots#plot-templates-data-series-only). - `-x ` - set a default field or column name (or number) from which the X axis data comes from. diff --git a/content/docs/command-reference/plots/show.md b/content/docs/command-reference/plots/show.md index c9a90baa71..020285f24f 100644 --- a/content/docs/command-reference/plots/show.md +++ b/content/docs/command-reference/plots/show.md @@ -50,9 +50,9 @@ The default behavior of this command can be modified per [stage plot] file with [`plots.out_dir`](/doc/command-reference/config#plots) config option. - `-t , --template ` - - [plot template](/doc/user-guide/plots#plot-templates-data-series-only) to be injected with - data. The default template is `.dvc/plots/default.json`. See more details in - `dvc plots`. + [plot template](/doc/user-guide/plots#plot-templates-data-series-only) to be + injected with data. The default template is `.dvc/plots/default.json`. See + more details in `dvc plots`. - `-x ` - field name from which the X axis data comes from. An auto-generated `index` field is used by default. See diff --git a/content/docs/user-guide/plots.md b/content/docs/user-guide/plots.md index 9729bafdf5..8a6eb7eb11 100644 --- a/content/docs/user-guide/plots.md +++ b/content/docs/user-guide/plots.md @@ -131,8 +131,8 @@ plots: In that case the default behavior will be applied. DVC will take data from `logs.csv` file and apply `linear` plot -[template](/doc/user-guide/plots#plot-templates-data-series-only) to the last found column (CSV, -TSV files) or field (JSON, YAML). +[template](/doc/user-guide/plots#plot-templates-data-series-only) to the last +found column (CSV, TSV files) or field (JSON, YAML). We can customize the plot by adding appropriate fields to the configuration: @@ -217,7 +217,8 @@ create plots from user data. A set of built-in _plot templates_ are included. The `linear` template is the default. It can be changed with the `--template` (`-t`) option of `dvc plots show` and `dvc plots diff`. The argument provided to -`--template` can be a (built-in) template name or a path to a [custom template](#custom-templates). +`--template` can be a (built-in) template name or a path to a +[custom template](#custom-templates).