diff --git a/fiftyone/core/odm/dataset.py b/fiftyone/core/odm/dataset.py index e7bb6753397..de3c9440f26 100644 --- a/fiftyone/core/odm/dataset.py +++ b/fiftyone/core/odm/dataset.py @@ -416,13 +416,6 @@ def _validate_single_colorscale(self, scale): f"Each colorscale entry must be a dict. Invalid entry: {scale}" ) - path = scale.get("path") - if path is None or not isinstance(path, str): - raise ValueError( - "Each colorscale entry must have a 'path' (string)." - f"Invalid entry: {scale}" - ) - name = scale.get("name") color_list = scale.get("list") @@ -432,12 +425,6 @@ def _validate_single_colorscale(self, scale): f"Invalid entry: {scale}" ) - if name is not None and color_list is not None: - print( - "Note: Both 'name' and 'list' are provided." - f"Using the named colorscale '{name}'." - ) - if name is not None and not isinstance(name, str): raise ValueError( "Invalid colorscale name."