We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c9395 commit 1abe681Copy full SHA for 1abe681
nibabel/streamlines/array_sequence.py
@@ -5,8 +5,6 @@
5
6
import numpy as np
7
8
-from ..deprecated import deprecate_with_version
9
-
10
MEGABYTE = 1024 * 1024
11
12
@@ -154,16 +152,6 @@ def total_nb_rows(self):
154
152
""" Total number of rows in this array sequence. """
155
153
return np.sum(self._lengths)
156
157
- @property
158
- @deprecate_with_version("'ArraySequence.data' property is deprecated.\n"
159
- "Please use the 'ArraySequence.get_data()' method instead",
160
- '3.0', '4.0')
161
- def data(self):
162
- """ Elements in this array sequence. """
163
- view = self._data.view()
164
- view.setflags(write=False)
165
- return view
166
167
def get_data(self):
168
""" Returns a *copy* of the elements in this array sequence.
169
0 commit comments