From c34bce969ed271832c3833fa2055e6ecadb94cb6 Mon Sep 17 00:00:00 2001 From: Keewis Date: Sat, 15 Jan 2022 19:24:46 +0100 Subject: [PATCH] actually use the short formatter --- doc/units.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/units.md b/doc/units.md index 1f6e5c8a..aec203fa 100644 --- a/doc/units.md +++ b/doc/units.md @@ -22,5 +22,5 @@ from pint import application_registry as ureg import cf_xarray.units u = ureg.Unit("m ** 3 / s ** 2") -f"{u:cf}" +f"{u:~cf}" ```