You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/extras.jl
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,11 +58,13 @@ also accept them.
58
58
values in `x`, and the upper bound is included in the last interval.
59
59
* `labels::AbstractVector=[]`: a vector of strings giving the names to use for the
60
60
intervals; if empty, default labels are used.
61
+
* `label_formatter::Function`: a function `f(from,to;extend=false)` that generates the labels from the left and right interval boundaries. Defaults to `string("[", from, ", ", to, extend ? "]" : ")")`, e.g. `"[1, 5)"`.
61
62
* `allow_missing::Bool=true`: when `true`, values outside of breaks result in missing values.
0 commit comments