Skip to content

Commit 17c20fb

Browse files
committed
use the global registry instead
1 parent 5baa103 commit 17c20fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/agnostic/pint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Note how all variables are associated with a {py:class}`pint.Quantity` array, an
7070
With the `PintIndex`, selecting with quantities will convert the indexers to the index' units:
7171

7272
```{code-cell} python
73-
ureg = quantified.pint.registry
73+
ureg = pint_xarray.unit_registry
7474
7575
quantified.sel(
7676
latitude=slice(ureg.Quantity(4800, "arcmin"), ureg.Quantity(600, "arcmin")),

0 commit comments

Comments
 (0)