We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Windows when plot HTML is generated we don't properly generate DIV ids. Probably the problem is this replace:
ids
replace
div_id = f"plot_{self.filename.replace('.', '_').replace('/', '_')}"
it should be reproducing this to the best of my knowledge, we don't have Windows machine to easily try
Create a an empty project, add a CSV file exp\test.csv in it, add content like this:
exp\test.csv
true_labels,predicted_labels,predcited_proba 0,1,0.6459952 0,1,0.61865646 0,1,0.6695571 1,1,0.64352757 1,1,0.6563768 1,1,0.62994474
Run dvc plots show -t confusion --open .\exp\test.csv
dvc plots show -t confusion --open .\exp\test.csv
It should be giving:
Uncaught (in promise) Error: #plot_exp est_csv does not exist at [email protected]:21 at gi ([email protected]:21)
You should see a confusion matrix
Windows 10, conda
conda version : 4.10.3 conda-build version : 3.21.4 python version : 3.8.5.final.0
Output of dvc doctor:
dvc doctor
DVC version: 2.8.2 (conda) --------------------------------- Platform: Python 3.9.7 on Windows-10-10.0.19043-SP0 Supports: gdrive (pydrive2 = 1.10.0), webhdfs (fsspec = 2021.10.1), http (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5), https (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5)
(dvc version in a project dir is broken due another bug in the dvc version itself)
dvc version
The text was updated successfully, but these errors were encountered:
plots: special chars handling for vega plots paths
bedc4ca
Fixes: iterative#6894
e0fd079
Fixes: #6894
pared
Successfully merging a pull request may close this issue.
Bug Report
On Windows when plot HTML is generated we don't properly generate DIV
ids
. Probably the problem is thisreplace
:div_id = f"plot_{self.filename.replace('.', '_').replace('/', '_')}"
Reproduce
Create a an empty project, add a CSV file
exp\test.csv
in it, add content like this:Run
dvc plots show -t confusion --open .\exp\test.csv
It should be giving:
Expected
You should see a confusion matrix
Environment information
Windows 10, conda
Output of
dvc doctor
:(
dvc version
in a project dir is broken due another bug in thedvc version
itself)The text was updated successfully, but these errors were encountered: