Skip to content

Commit

Permalink
docs: add step size to histogram_rel_freq (#9427)
Browse files Browse the repository at this point in the history
This improves the ticks on the x axis.

---------

Co-authored-by: GitHub Actions Bot <[email protected]>
  • Loading branch information
domoritz and GitHub Actions Bot authored Sep 5, 2024
1 parent 5ae0fc5 commit 9cf557a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file modified examples/compiled/histogram_rel_freq.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/histogram_rel_freq.svg
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/histogram_rel_freq.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"fields": ["bin_Horsepwoer", "bin_Horsepwoer_end"]
},
"range": [0, {"signal": "width"}],
"bins": {"step": 60},
"zero": false
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/histogram_rel_freq.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"x": {
"title": "Horsepower",
"field": "bin_Horsepwoer",
"bin": {"binned": true}
"bin": {"binned": true, "step": 60}
},
"x2": {"field": "bin_Horsepwoer_end"},
"y": {
Expand Down

0 comments on commit 9cf557a

Please sign in to comment.