forked from iterative/dvc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plots: load templates from package (iterative#6550)
* plots: vega: make interactive linear default plot * plots: stop dumping default templates * plots: move templates to package initial * plots: update default plots schema * plots: write defaults on init * templates: migrate to importlib.resources * fixup * fixup
- Loading branch information
Showing
15 changed files
with
659 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
include LICENSE | ||
recursive-include requirements *.txt | ||
recursive-include dvc/repo/plots/templates *.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import os.path | ||
from typing import Dict, List | ||
|
||
import dpath | ||
import dpath.util | ||
|
||
|
||
def get_files(data: Dict) -> List: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.