diff --git a/dnotebooks/plots/plots.py b/dnotebooks/plots/plots.py index f6d6180..c855258 100644 --- a/dnotebooks/plots/plots.py +++ b/dnotebooks/plots/plots.py @@ -193,8 +193,8 @@ def plot_metric_over_time( mean_linestyle = '-' accuracies_view = zip( X, - [None] * rounds, - [color] * rounds + [None] * len(X), + [color] * len(X) ) for idx, (acc, label, c) in enumerate(accuracies_view): diff --git a/dnotebooks/widgets/selection.py b/dnotebooks/widgets/selection.py index 065415d..7897765 100644 --- a/dnotebooks/widgets/selection.py +++ b/dnotebooks/widgets/selection.py @@ -20,7 +20,6 @@ ExperimentConfusionMatrixDelta ) from dnotebooks.utils import RegexColorDict - from .miscellaneous import LabelPP, MultiCheckboxWidget, MultiCheckboxWithLimitWidget @@ -99,7 +98,7 @@ def StyledExperimentSelectionWidget( - getter_function returns List[Tuple[Path, style]] ordered by selection time """ if style_options is None: - style_options = ['solid', 'dashed', 'dotted'] + style_options = ['solid', 'dashed', 'dotted', '*', 'o', 's', 'D'] # Track experiments and their widgets experiment_rows: Dict[str, Tuple[ExperimentGroup, HBox, Checkbox, Dropdown]] = {}