From 3b6e79e716d7e7aa5fbf12530d14a7da6c9549f1 Mon Sep 17 00:00:00 2001 From: Pablo Villacorta Aylagas Date: Tue, 17 Dec 2024 19:05:52 +0100 Subject: [PATCH] Add digits to the time slider in `plot_phantom_map` --- KomaMRIPlots/src/ui/DisplayFunctions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KomaMRIPlots/src/ui/DisplayFunctions.jl b/KomaMRIPlots/src/ui/DisplayFunctions.jl index 5fce63a37..cec4f1e15 100644 --- a/KomaMRIPlots/src/ui/DisplayFunctions.jl +++ b/KomaMRIPlots/src/ui/DisplayFunctions.jl @@ -1258,7 +1258,7 @@ function plot_phantom_map( pad=attr(l=30, b=30), steps=[ attr( - label=round(t0*1e3), + label=round(t0*1e3; digits=2), method="update", args=[attr(visible=[fill(false, i-1); true; fill(false, length(t) - i)])] )