Skip to content

Commit

Permalink
slight docstring tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Goldbaum committed Jun 9, 2017
1 parent 1a3498c commit f0a9b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt/units/yt_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ class YTArray(np.ndarray):
NumPy ufuncs will pass through units where appropriate.
>>> import numpy as np
>>> a = YTArray(np.arange(8), 'g/cm**3')
>>> a = YTArray(np.arange(8) - 4, 'g/cm**3')
>>> np.abs(a)
YTArray([8, 8, 8, 8, 8, 8, 8, 8]) g/cm**3
YTArray([4, 3, 2, 1, 0, 1, 2, 3]) g/cm**3
and strip them when it would be annoying to deal with them.
Expand Down

0 comments on commit f0a9b82

Please sign in to comment.