From 3f0b830c6637a05eef05d92d795e3ff5943ca454 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Mon, 16 Sep 2024 18:06:52 +0200 Subject: [PATCH] In axis painter use 'g' as default for axis values --- modules/gpad/TAxisPainter.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpad/TAxisPainter.mjs b/modules/gpad/TAxisPainter.mjs index 8d08c0d96..eb02dde82 100644 --- a/modules/gpad/TAxisPainter.mjs +++ b/modules/gpad/TAxisPainter.mjs @@ -184,7 +184,7 @@ const AxisPainterMethods = { return res; } - return floatToString(val, fmt || gStyle.fStatFormat); + return floatToString(val, fmt || 'g'); }, /** @summary Provide label for exponential form */