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 May 12, 2024
1 parent 5981983 commit 503ecf4
Show file tree
Hide file tree
Showing 20 changed files with 109 additions and 157 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
},
{"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"},
{"scale": "color", "field": "c"}
],
"tooltip": {
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 @@ -341,7 +341,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 @@ -447,7 +447,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 @@ -684,7 +684,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 @@ -776,7 +776,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 @@ -321,7 +321,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_4"},
"encode": {
"update": {
Expand Down Expand Up @@ -664,7 +664,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 @@ -756,7 +756,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 @@ -333,7 +333,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 @@ -439,7 +439,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 @@ -676,7 +676,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 @@ -768,7 +768,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 @@ -352,7 +352,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 @@ -476,7 +476,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 @@ -734,7 +734,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 @@ -844,7 +844,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 @@ -364,7 +364,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 @@ -500,7 +500,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 @@ -776,7 +776,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 @@ -898,7 +898,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
Binary file modified examples/compiled/test_invalid_color_include.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_color_include.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 14 additions & 24 deletions examples/compiled/test_invalid_color_include.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -240,8 +239,7 @@
"update": {
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -348,16 +346,15 @@
"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"
},
"encode": {
"update": {
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -397,8 +394,7 @@
"opacity": {"value": 1},
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -510,15 +506,14 @@
"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])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -628,8 +623,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -709,8 +703,7 @@
"update": {
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -799,16 +792,15 @@
"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"
},
"encode": {
"update": {
"stroke": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -842,8 +834,7 @@
"opacity": {"value": 1},
"fill": [
{
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])",
"signal": "scale('color', domain('color')[0])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down Expand Up @@ -935,15 +926,14 @@
"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])"
"test": "!isValid(datum[\"c\"]) || !isFinite(+datum[\"c\"])"
},
{"scale": "color", "field": "c"}
],
Expand Down

0 comments on commit 503ecf4

Please sign in to comment.