From 053f4df1dc231735e3b99be1242b24d34db1473a Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 7 May 2020 12:07:38 -0500 Subject: [PATCH 1/3] plot: link to cmd ref in output --- dvc/repo/plot/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/repo/plot/data.py b/dvc/repo/plot/data.py index dff044a9a7..4c9d736d17 100644 --- a/dvc/repo/plot/data.py +++ b/dvc/repo/plot/data.py @@ -29,7 +29,7 @@ class PlotDataStructureError(DvcException): def __init__(self): super().__init__( "Plot data extraction failed. Please see " - "documentation for supported data formats." + "https://man.dvc.org/plot for supported data formats." ) From fc0d35e88edc6de50697af1a6704cac955b78340 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 25 Jun 2020 14:02:46 -0500 Subject: [PATCH 2/3] plots: change non-plot output error msg per https://github.com/iterative/dvc/pull/3994#discussion_r438917424 --- dvc/repo/plots/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/repo/plots/__init__.py b/dvc/repo/plots/__init__.py index 8a148aacb3..462d966bf7 100644 --- a/dvc/repo/plots/__init__.py +++ b/dvc/repo/plots/__init__.py @@ -13,7 +13,8 @@ class NotAPlotError(DvcException): def __init__(self, out): super().__init__( - f"'{out}' is not a plot. Use `dvc plots modify` to change that." + f"'{out}' is not a known plot. Use `dvc plots modify` to turn it " + f"into one." ) From ddddd6ea26c814a54928fb761989d0f4b7850db4 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 25 Jun 2020 14:35:31 -0500 Subject: [PATCH 3/3] Update dvc/repo/plots/__init__.py Co-authored-by: Ruslan Kuprieiev --- dvc/repo/plots/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/repo/plots/__init__.py b/dvc/repo/plots/__init__.py index 462d966bf7..4386ca5613 100644 --- a/dvc/repo/plots/__init__.py +++ b/dvc/repo/plots/__init__.py @@ -14,7 +14,7 @@ class NotAPlotError(DvcException): def __init__(self, out): super().__init__( f"'{out}' is not a known plot. Use `dvc plots modify` to turn it " - f"into one." + "into one." )