pass empty coordinates when a continuous annotation is colored (#1212)

This commit is contained in:
Severiano Badajoz
2020-03-11 13:01:14 -07:00
committed by GitHub
parent 7cd9a0032a
commit 3bf72829c2
+5
View File
@@ -37,6 +37,11 @@ const getCoordinatesByCategoricalValues = (
categoryName
];
// If the coloredBy is not a categorical col
if (categoryValueIndices === undefined) {
return coordinates;
}
// Check to see if the current category is a user created annotation
const isUserAnno = schemaObsByName[categoryName].writable;