Skip to content

Commit

Permalink
Remove "not" from example specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Jun 9, 2017
1 parent 07bc048 commit ff059d7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions examples/specs/brush.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
7 changes: 4 additions & 3 deletions examples/specs/interactive_splom.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/specs/layered_selections.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions examples/specs/query_widgets.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}, {
Expand Down

0 comments on commit ff059d7

Please sign in to comment.