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 authored and kanitw committed May 10, 2024
1 parent 836e7e2 commit 9145e52
Show file tree
Hide file tree
Showing 22 changed files with 129 additions and 152 deletions.
2 changes: 1 addition & 1 deletion examples/compiled/area_invalid_null.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"x": [
{
"test": "!isValid(datum[\"x\"]) || !isFinite(+datum[\"x\"])",
"value": 0
"signal": "scale('x', inrange(0, domain('x')) ? 0 : domain('x')[0])"
},
{"scale": "x", "field": "x"}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/compiled/line_invalid_null.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"x": [
{
"test": "!isValid(datum[\"x\"]) || !isFinite(+datum[\"x\"])",
"value": 0
"signal": "scale('x', inrange(0, domain('x')) ? 0 : domain('x')[0])"
},
{"scale": "x", "field": "x"}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down
Binary file modified examples/compiled/test_invalid_break_paths.png
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/test_invalid_break_paths.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions examples/compiled/test_invalid_break_paths.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -435,7 +435,7 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_4"},
"encode": {
"update": {
Expand Down Expand Up @@ -663,7 +663,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -749,7 +749,7 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_8"},
"encode": {
"update": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -415,7 +415,7 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_4"},
"encode": {
"update": {
Expand Down Expand Up @@ -643,7 +643,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -729,7 +729,7 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_7"},
"encode": {
"update": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -427,7 +427,7 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_5"},
"encode": {
"update": {
Expand Down Expand Up @@ -655,7 +655,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_0"},
"encode": {
"update": {
Expand Down Expand Up @@ -741,7 +741,7 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "data_9"},
"encode": {
"update": {
Expand Down
8 changes: 4 additions & 4 deletions examples/compiled/test_invalid_color_filter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_0_concat_2_layer_0_main"
},
Expand Down Expand Up @@ -464,7 +464,7 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_0_concat_3_main"},
"encode": {
"update": {
Expand Down Expand Up @@ -713,7 +713,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_1_concat_2_layer_0_main"
},
Expand Down Expand Up @@ -817,7 +817,7 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_1_concat_3_main"},
"encode": {
"update": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_0_concat_2_layer_0_main"
},
Expand Down Expand Up @@ -488,7 +488,7 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_0_concat_3_main"},
"encode": {
"update": {
Expand Down Expand Up @@ -755,7 +755,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_1_concat_2_layer_0_main"
},
Expand Down Expand Up @@ -871,7 +871,7 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_1_concat_3_main"},
"encode": {
"update": {
Expand Down
36 changes: 18 additions & 18 deletions examples/compiled/test_invalid_color_include.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -238,7 +238,7 @@
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand All @@ -249,7 +249,7 @@
"xc": [
{
"test": "!isValid(datum[\"a\"]) || !isFinite(+datum[\"a\"])",
"value": 0
"signal": "scale('concat_0_concat_1_x', inrange(0, domain('concat_0_concat_1_x')) ? 0 : domain('concat_0_concat_1_x')[0])"
},
{"scale": "concat_0_concat_1_x", "field": "a"}
],
Expand Down Expand Up @@ -342,7 +342,7 @@
"name": "concat_0_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_0_concat_2_layer_0_main"
},
Expand All @@ -351,7 +351,7 @@
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand All @@ -361,7 +361,7 @@
"x": [
{
"test": "!isValid(datum[\"a\"]) || !isFinite(+datum[\"a\"])",
"value": 0
"signal": "scale('concat_0_concat_2_x', inrange(0, domain('concat_0_concat_2_x')) ? 0 : domain('concat_0_concat_2_x')[0])"
},
{"scale": "concat_0_concat_2_x", "field": "a"}
],
Expand Down Expand Up @@ -389,7 +389,7 @@
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand All @@ -400,7 +400,7 @@
"x": [
{
"test": "!isValid(datum[\"a\"]) || !isFinite(+datum[\"a\"])",
"value": 0
"signal": "scale('concat_0_concat_2_x', inrange(0, domain('concat_0_concat_2_x')) ? 0 : domain('concat_0_concat_2_x')[0])"
},
{"scale": "concat_0_concat_2_x", "field": "a"}
],
Expand Down Expand Up @@ -498,15 +498,15 @@
"name": "concat_0_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_0_concat_3_main"},
"encode": {
"update": {
"orient": {"value": "vertical"},
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand All @@ -516,7 +516,7 @@
"x": [
{
"test": "!isValid(datum[\"a\"]) || !isFinite(+datum[\"a\"])",
"value": 0
"signal": "scale('concat_0_concat_3_x', inrange(0, domain('concat_0_concat_3_x')) ? 0 : domain('concat_0_concat_3_x')[0])"
},
{"scale": "concat_0_concat_3_x", "field": "a"}
],
Expand Down Expand Up @@ -614,7 +614,7 @@
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -692,7 +692,7 @@
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -778,7 +778,7 @@
"name": "concat_1_concat_2_layer_0_marks",
"type": "line",
"style": ["line"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {
"data": "faceted_path_concat_1_concat_2_layer_0_main"
},
Expand All @@ -787,7 +787,7 @@
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -819,7 +819,7 @@
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -908,15 +908,15 @@
"name": "concat_1_concat_3_marks",
"type": "area",
"style": ["area"],
"sort": {"field": "datum[\"a\"]"},
"sort": {"field": "x"},
"from": {"data": "faceted_path_concat_1_concat_3_main"},
"encode": {
"update": {
"orient": {"value": "vertical"},
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"signal": "scale('color', inrange(0, domain('color')) ? 0 : domain('color')[0])"
},
{"scale": "color", "field": "c"}
],
Expand Down

0 comments on commit 9145e52

Please sign in to comment.