From 23869922b421b4c1ed99c9dc48e849645f111a34 Mon Sep 17 00:00:00 2001 From: ninglinLiu Date: Fri, 20 Nov 2026 08:09:42 +0800 Subject: [PATCH] docs: fix typo in formatFloatTick comment --- axis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axis.go b/axis.go index 04590da5..17089a00 100644 --- a/axis.go +++ b/axis.go @@ -726,7 +726,7 @@ func tickLabelWidth(sty text.Style, ticks []Tick) vg.Length { return maxWidth } -// formatFloatTick returns a g-formated string representation of v +// formatFloatTick returns a g-formatted string representation of v // to the specified precision. func formatFloatTick(v float64, prec int) string { return strconv.FormatFloat(v, 'g', prec, 64)