Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
d-chambers committed Mar 1, 2024
1 parent 22bfe21 commit 80e84e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dascore/proc/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def set_units(
>>> patch_with_units = patch.set_units("km/ms")
>>> # set the units of the distance coordinate
>>> patch_feet = patch.set_units(distance='feet')
>>> # remove units.
>>> patch_removed_units = patch_with_units(None)
>>> # remove data units
>>> patch_removed_units = patch_with_units.set_units(None)
"""
new_coords = patch.coords.set_units(**kwargs)
new_attrs = _update_attrs_coord_units(patch, data_units, new_coords)
Expand Down

0 comments on commit 80e84e9

Please sign in to comment.