diff --git a/examples/specs/brush.vl.json b/examples/specs/brush.vl.json index 2267019a442..68588e07375 100644 --- a/examples/specs/brush.vl.json +++ b/examples/specs/brush.vl.json @@ -12,8 +12,8 @@ "x": {"field": "Horsepower", "type": "quantitative"}, "y": {"field": "Miles_per_Gallon", "type": "quantitative"}, "color": { - "condition": {"selection": {"not": "brush"}, "value": "grey"}, - "field": "Cylinders", "type": "ordinal" + "condition": {"selection": "brush", "field": "Cylinders", "type": "ordinal"}, + "value": "grey" } } } diff --git a/examples/specs/interactive_splom.vl.json b/examples/specs/interactive_splom.vl.json index 41acab7485b..bda2b709aa2 100644 --- a/examples/specs/interactive_splom.vl.json +++ b/examples/specs/interactive_splom.vl.json @@ -31,10 +31,11 @@ "type": "quantitative" }, "color": { - "field": "Origin","type": "nominal", "condition": { - "selection": {"not": "brush"}, "value": "grey" - } + "selection": "brush", + "field": "Origin","type": "nominal" + }, + "value": "grey" } } } diff --git a/examples/specs/layered_selections.vl.json b/examples/specs/layered_selections.vl.json index 12f026c378a..34fce76b5f5 100644 --- a/examples/specs/layered_selections.vl.json +++ b/examples/specs/layered_selections.vl.json @@ -36,8 +36,8 @@ "x": {"field": "Horsepower", "type": "quantitative"}, "y": {"field": "Miles_per_Gallon", "type": "quantitative"}, "color": { - "condition": {"selection": {"not": "brush"}, "value": "grey"}, - "field": "Cylinders", "type": "ordinal" + "condition": {"selection": "brush", "field": "Cylinders", "type": "ordinal"}, + "value": "grey" }, "size": { "value": 50, diff --git a/examples/specs/query_widgets.vl.json b/examples/specs/query_widgets.vl.json index d1c3106a078..25ca2effc62 100644 --- a/examples/specs/query_widgets.vl.json +++ b/examples/specs/query_widgets.vl.json @@ -18,8 +18,8 @@ "x": {"field": "Horsepower", "type": "quantitative"}, "y": {"field": "Miles_per_Gallon", "type": "quantitative"}, "color": { - "field": "Origin", "type": "nominal", - "condition": {"selection": {"not": "CylYr"}, "value": "grey"} + "condition": {"selection": "CylYr", "field": "Origin", "type": "nominal"}, + "value": "grey" } } }, {