Skip to content

Commit

Permalink
explicitly use the short formatter in the docs (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis authored Jan 18, 2022
1 parent 7c338c3 commit 942d735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/units.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
```

0 comments on commit 942d735

Please sign in to comment.