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 Jun 21, 2023
1 parent 87a70cf commit 5aa8a1b
Show file tree
Hide file tree
Showing 129 changed files with 730 additions and 195 deletions.
Binary file modified examples/compiled/bar_1d_binned.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/bar_1d_binned.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions examples/compiled/bar_1d_binned.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@
"x2": {
"scale": "x",
"field": "bin_maxbins_100_minstep_1_delay",
"offset": 1
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay_end\"]) - scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay_end\"]) - scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay\"]))) : 0.5"
}
},
"x": {
"scale": "x",
"field": "bin_maxbins_100_minstep_1_delay_end",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay_end\"]) - scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay_end\"]) - scale(\"x\", datum[\"bin_maxbins_100_minstep_1_delay\"]))) : -0.5"
}
},
"x": {"scale": "x", "field": "bin_maxbins_100_minstep_1_delay_end"},
"y": {"value": 0},
"y2": {"field": {"group": "height"}}
}
Expand Down
Binary file modified examples/compiled/bar_aggregate_count.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/bar_aggregate_count.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions examples/compiled/bar_aggregate_count.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,17 @@
"x2": {
"scale": "x",
"field": "bin_maxbins_10_precipitation",
"offset": 1
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_maxbins_10_precipitation_end\"]) - scale(\"x\", datum[\"bin_maxbins_10_precipitation\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"bin_maxbins_10_precipitation_end\"]) - scale(\"x\", datum[\"bin_maxbins_10_precipitation\"]))) : 0.5"
}
},
"x": {
"scale": "x",
"field": "bin_maxbins_10_precipitation_end",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_maxbins_10_precipitation_end\"]) - scale(\"x\", datum[\"bin_maxbins_10_precipitation\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"bin_maxbins_10_precipitation_end\"]) - scale(\"x\", datum[\"bin_maxbins_10_precipitation\"]))) : -0.5"
}
},
"x": {"scale": "x", "field": "bin_maxbins_10_precipitation_end"},
"y": {"scale": "y", "field": "__count"},
"y2": {"scale": "y", "value": 0}
}
Expand Down
Binary file modified examples/compiled/bar_binned_data.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/bar_binned_data.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions examples/compiled/bar_binned_data.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,20 @@
"description": {
"signal": "\"bin_start: \" + (!isValid(datum[\"bin_start\"]) || !isFinite(+datum[\"bin_start\"]) ? \"null\" : format(datum[\"bin_start\"], \"\") + \"\" + format(datum[\"bin_end\"], \"\")) + \"; count: \" + (format(datum[\"count\"], \"\"))"
},
"x2": {"scale": "x", "field": "bin_start", "offset": 1},
"x": {"scale": "x", "field": "bin_end"},
"x2": {
"scale": "x",
"field": "bin_start",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_start_end\"]) - scale(\"x\", datum[\"bin_start\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"bin_start_end\"]) - scale(\"x\", datum[\"bin_start\"]))) : 0.5"
}
},
"x": {
"scale": "x",
"field": "bin_end",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"bin_start_end\"]) - scale(\"x\", datum[\"bin_start\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"bin_start_end\"]) - scale(\"x\", datum[\"bin_start\"]))) : -0.5"
}
},
"y": {"scale": "y", "field": "count_end"},
"y2": {"scale": "y", "field": "count_start"}
}
Expand Down
Binary file modified examples/compiled/bar_custom_time_domain.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/bar_custom_time_domain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions examples/compiled/bar_custom_time_domain.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,20 @@
"description": {
"signal": "\"a (hours): \" + (timeFormat(datum[\"hours_a\"], timeUnitSpecifier([\"hours\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
"x2": {"scale": "x", "field": "hours_a", "offset": 1},
"x": {"scale": "x", "field": "hours_a_end"},
"x2": {
"scale": "x",
"field": "hours_a",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"hours_a_end\"]) - scale(\"x\", datum[\"hours_a\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"hours_a_end\"]) - scale(\"x\", datum[\"hours_a\"]))) : 0.5"
}
},
"x": {
"scale": "x",
"field": "hours_a_end",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"hours_a_end\"]) - scale(\"x\", datum[\"hours_a\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"hours_a_end\"]) - scale(\"x\", datum[\"hours_a\"]))) : -0.5"
}
},
"y": {"scale": "y", "field": "b_end"},
"y2": {"scale": "y", "field": "b_start"}
}
Expand Down
Binary file modified examples/compiled/bar_month_band.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/bar_month_band.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: 7 additions & 2 deletions examples/compiled/bar_month_band.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,15 @@
},
"x2": {
"signal": "scale(\"x\", 0.15000000000000002 * datum[\"month_date\"] + 0.85 * datum[\"month_date_end\"])",
"offset": 1
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : 0.5"
}
},
"x": {
"signal": "scale(\"x\", 0.85 * datum[\"month_date\"] + 0.15000000000000002 * datum[\"month_date_end\"])"
"signal": "scale(\"x\", 0.85 * datum[\"month_date\"] + 0.15000000000000002 * datum[\"month_date_end\"])",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : -0.5"
}
},
"y": {"scale": "y", "field": "mean_precipitation"},
"y2": {"scale": "y", "value": 0}
Expand Down
Binary file modified examples/compiled/bar_month_band_config.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/bar_month_band_config.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: 7 additions & 2 deletions examples/compiled/bar_month_band_config.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,15 @@
},
"x2": {
"signal": "scale(\"x\", 0.15000000000000002 * datum[\"month_date\"] + 0.85 * datum[\"month_date_end\"])",
"offset": 1
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : 0.5"
}
},
"x": {
"signal": "scale(\"x\", 0.85 * datum[\"month_date\"] + 0.15000000000000002 * datum[\"month_date_end\"])"
"signal": "scale(\"x\", 0.85 * datum[\"month_date\"] + 0.15000000000000002 * datum[\"month_date_end\"])",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : -0.5"
}
},
"y": {"scale": "y", "field": "mean_precipitation"},
"y2": {"scale": "y", "value": 0}
Expand Down
Binary file modified examples/compiled/bar_month_temporal.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/bar_month_temporal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions examples/compiled/bar_month_temporal.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,20 @@
"description": {
"signal": "\"date (month): \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; Mean of precipitation: \" + (format(datum[\"mean_precipitation\"], \"\"))"
},
"x2": {"scale": "x", "field": "month_date", "offset": 1},
"x": {"scale": "x", "field": "month_date_end"},
"x2": {
"scale": "x",
"field": "month_date",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? -0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : 0.5"
}
},
"x": {
"scale": "x",
"field": "month_date_end",
"offset": {
"signal": "0.5 + scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]) < 0.25 ? 0.5 * (0.25 - (scale(\"x\", datum[\"month_date_end\"]) - scale(\"x\", datum[\"month_date\"]))) : -0.5"
}
},
"y": {"scale": "y", "field": "mean_precipitation"},
"y2": {"scale": "y", "value": 0}
}
Expand Down
Binary file modified examples/compiled/bar_month_temporal_initial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5aa8a1b

Please sign in to comment.