Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions dvc/command/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ def add_parser(subparsers, parent_parser):
plot_show_parser.add_argument("--xlab", default=None, help="X axis title.")
plot_show_parser.add_argument("--ylab", default=None, help="Y axis title.")
plot_show_parser.add_argument(
"datafile", nargs="?", default=None, help="Metrics file to visualize.",
"datafile", nargs="?", default=None, help="Metrics file to visualize",
)
plot_show_parser.set_defaults(func=CmdPlotShow)

PLOT_DIFF_HELP = (
"Plot metrics differences between commits in the DVC "
"Plot differences in metrics between commits in the DVC "
"repository, or between the last commit and the workspace."
)
plot_diff_parser = plot_subparsers.add_parser(
Expand All @@ -193,7 +193,7 @@ def add_parser(subparsers, parent_parser):
"--datafile",
nargs="?",
default=None,
help="Metrics file to visualize.",
help="Metrics file to visualize",
)
plot_diff_parser.add_argument(
"-f", "--file", default=None, help="Name of the generated file."
Expand Down Expand Up @@ -232,9 +232,6 @@ def add_parser(subparsers, parent_parser):
plot_diff_parser.add_argument("--xlab", default=None, help="X axis title.")
plot_diff_parser.add_argument("--ylab", default=None, help="Y axis title.")
plot_diff_parser.add_argument(
"revisions",
nargs="*",
default=None,
help="Git revisions to plot from",
"revisions", nargs="*", default=None, help="Git commits to plot from",
)
plot_diff_parser.set_defaults(func=CmdPlotDiff)
2 changes: 1 addition & 1 deletion dvc/repo/plot/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)


Expand Down