Skip to content

Commit

Permalink
vega: Remove plot_ prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Jun 20, 2022
1 parent 5bfd273 commit f08fa96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dvc_render/vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class VegaRenderer(Renderer):
EXTENSIONS = {".yml", ".yaml", ".json", ".csv", ".tsv"}

def __init__(self, datapoints: List, name: str, **properties):
if name and not name.startswith("plot_"):
name = f"plot_{name}"
super().__init__(datapoints, name, **properties)
self.template = get_template(
self.properties.get("template", None),
Expand Down

0 comments on commit f08fa96

Please sign in to comment.