Skip to content

Commit

Permalink
chore: update examples [CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jul 6, 2023
1 parent 5472291 commit c0988b2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
Binary file modified examples/compiled/selection_type_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/compiled/selection_type_region.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions examples/compiled/selection_type_region.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"height": 200,
"style": "cell",
"data": [
{"name": "brush_store"},
{
"name": "brush_store",
"transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
},
{
"name": "source_0",
"url": "data/cars.json",
"format": {"type": "json"},
"transform": [
{"type": "identifier", "as": "_vgsid_"},
{
"type": "filter",
"expr": "isValid(datum[\"Horsepower\"]) && isFinite(+datum[\"Horsepower\"]) && isValid(datum[\"Miles_per_Gallon\"]) && isFinite(+datum[\"Miles_per_Gallon\"])"
Expand Down Expand Up @@ -63,7 +67,6 @@
}
]
},
{"name": "brush_tuple_fields", "value": []},
{
"name": "brush_modify",
"on": [
Expand Down Expand Up @@ -101,7 +104,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
"test": "!length(data(\"brush_store\")) || vlSelectionTest(\"brush_store\", datum)",
"test": "!length(data(\"brush_store\")) || vlSelectionIdTest(\"brush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
Expand Down
Binary file modified examples/compiled/selection_type_region_concat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/selection_type_region_concat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions examples/compiled/selection_type_region_concat.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
"padding": 5,
"width": 200,
"data": [
{"name": "brush_store"},
{"name": "source_0", "url": "data/cars.json", "format": {"type": "json"}},
{
"name": "brush_store",
"transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
},
{
"name": "source_0",
"url": "data/cars.json",
"format": {"type": "json"},
"transform": [{"type": "identifier", "as": "_vgsid_"}]
},
{
"name": "data_0",
"source": "source_0",
Expand Down Expand Up @@ -91,7 +99,6 @@
}
]
},
{"name": "brush_tuple_fields", "value": []},
{
"name": "brush_modify",
"on": [
Expand Down

0 comments on commit c0988b2

Please sign in to comment.