plots: don't allow in non-dvc repo (#4745)

This commit is contained in:
Ruslan Kuprieiev
2020-10-20 11:31:57 +03:00
committed by GitHub
parent 7527a220f6
commit e48055077d
+4 -2
View File
@@ -31,8 +31,6 @@ DIV_HTML = """<div id = "{id}"></div>
class CmdPlots(CmdBase):
UNINITIALIZED = True
def _func(self, *args, **kwargs):
raise NotImplementedError
@@ -82,11 +80,15 @@ class CmdPlots(CmdBase):
class CmdPlotsShow(CmdPlots):
UNINITIALIZED = True
def _func(self, *args, **kwargs):
return self.repo.plots.show(*args, **kwargs)
class CmdPlotsDiff(CmdPlots):
UNINITIALIZED = True
def _func(self, *args, **kwargs):
return self.repo.plots.diff(
*args,