mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
exp show --html: Handle fill_value.
Adds new argument `fill_value` to ParallelCoordinatesRenderer. For scalar columns, prevent converting to categorical by explictly inserting None when value is missing (value == fill_value). For categorical columns, replace `fill_value` with `"Missing"` and ensure it is the last item so it gets rendered on top of the column.
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
5ee82d4000
commit
4d5be46ab4
@@ -785,7 +785,7 @@ def test_show_experiments_html(tmp_dir, mocker):
|
||||
|
||||
show_experiments(all_experiments, html=True)
|
||||
|
||||
td.dropna.assert_called_with("rows")
|
||||
td.dropna.assert_called_with("rows", how="all")
|
||||
|
||||
render_kwargs = td.render.call_args[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user