diff --git a/examples/financial_charts/src/main.rs b/examples/financial_charts/src/main.rs index 758928fa..e9aa253b 100644 --- a/examples/financial_charts/src/main.rs +++ b/examples/financial_charts/src/main.rs @@ -471,7 +471,7 @@ fn hiding_non_business_hours_with_rangebreaks(show: bool, file_name: &str) { .tick_format("%b %d, %Y %H:%M") .range_breaks(vec![ plotly::layout::RangeBreak::new() - .bounds("17", "9") + .bounds(17, 9) .pattern("hour"), // hide hours outside of 9am-5pm ]), )