Skip to content

Commit

Permalink
DOC: Reuse previous variable in class examples
Browse files Browse the repository at this point in the history
  • Loading branch information
adbugger committed Jun 28, 2018
1 parent 06bff08 commit cf5158b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scipy/spatial/transform/rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,6 @@ class Rotation(object):
A `Rotation` instance can be indexed and sliced as if it were a single
1D array or list:
>>> r = R.from_euler('zyx', [
... [90, 0, 0],
... [0, 45, 0],
... [45, 60, 30]], degrees=True)
>>> r.as_quat()
array([[0. , 0. , 0.70710678, 0.70710678],
[0. , 0.38268343, 0. , 0.92387953],
Expand Down

0 comments on commit cf5158b

Please sign in to comment.