Skip to content

Commit 942d735

Browse files
authored
explicitly use the short formatter in the docs (#288)
1 parent 7c338c3 commit 942d735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/units.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ from pint import application_registry as ureg
2222
import cf_xarray.units
2323
2424
u = ureg.Unit("m ** 3 / s ** 2")
25-
f"{u:cf}"
25+
f"{u:~cf}"
2626
```

0 commit comments

Comments
 (0)