Skip to content

Commit 60e623f

Browse files
authored
import Quantity and Unit from the top-level module (#169)
1 parent 429ae5d commit 60e623f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pint_xarray/accessors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import itertools
33

44
import pint
5-
from pint.quantity import Quantity
6-
from pint.unit import Unit
5+
from pint import Quantity, Unit
76
from xarray import register_dataarray_accessor, register_dataset_accessor
87
from xarray.core.dtypes import NA
98

0 commit comments

Comments
 (0)