diff --git a/src/utils/plotSpecs/generateViolinSpec.js b/src/utils/plotSpecs/generateViolinSpec.js index 54013b2119..be0f9c10dc 100644 --- a/src/utils/plotSpecs/generateViolinSpec.js +++ b/src/utils/plotSpecs/generateViolinSpec.js @@ -480,6 +480,7 @@ const generateData = ( currentCellIds .filter(shouldBeDisplayed) .forEach((cellId) => { + // ignore the cells which are unfiltered if (selectedExpression[cellId] || selectedExpression[cellId] === 0) { const cell = { group: cellSetId,