From 4979cc44c8d5119b58e012c9c40836499070e0d5 Mon Sep 17 00:00:00 2001 From: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com> Date: Sun, 22 Jun 2025 21:45:58 +0200 Subject: [PATCH] show rangebreak usage with ints not just strings Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com> --- examples/financial_charts/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]), )