We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e91e7 commit 228f62eCopy full SHA for 228f62e
src/plot.js
@@ -100,7 +100,7 @@ export function plot(options = {}) {
100
for (const mark of marks) {
101
if (mark.facet === "exclude") {
102
const facetState = facetStateByMark.get(mark);
103
- facetState.facetsIndex = facetExclude(facetState.facetsIndex);
+ if (facetState !== undefined) facetState.facetsIndex = facetExclude(facetState.facetsIndex);
104
}
105
106
0 commit comments