From 7b488887b4a9bb2d909ebf8a3f59f98975374fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Fri, 12 Nov 2021 11:23:52 +0545 Subject: [PATCH] exp init: suppress plots if live is selected as a stage type --- dvc/repo/experiments/init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/repo/experiments/init.py b/dvc/repo/experiments/init.py index 1262786e6..4df83e20e 100644 --- a/dvc/repo/experiments/init.py +++ b/dvc/repo/experiments/init.py @@ -303,11 +303,11 @@ def init( ) else: if with_live: - # suppress `metrics`/`params` if live is selected, unless + # suppress `metrics`/`plots` if live is selected, unless # it is also provided via overrides/cli. # This makes output to be a checkpoint as well. defaults.pop("metrics", None) - defaults.pop("params", None) + defaults.pop("plots", None) else: defaults.pop("live", None) # suppress live otherwise