Skip to content

Commit 1cbaab9

Browse files
committed
show rangebreak usage with ints not just strings
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 9969b9a commit 1cbaab9

File tree

1 file changed

+1
-1
lines changed
  • examples/financial_charts/src

1 file changed

+1
-1
lines changed

examples/financial_charts/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ fn hiding_non_business_hours_with_rangebreaks(show: bool, file_name: &str) {
471471
.tick_format("%b %d, %Y %H:%M")
472472
.range_breaks(vec![
473473
plotly::layout::RangeBreak::new()
474-
.bounds("17", "9")
474+
.bounds(17, 9)
475475
.pattern("hour"), // hide hours outside of 9am-5pm
476476
]),
477477
)

0 commit comments

Comments
 (0)