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 b3503c5 commit 58528a9Copy full SHA for 58528a9
simvue/api/objects/grids.py
@@ -40,8 +40,6 @@ def check_ordered_array(
40
if isinstance(axis_ticks, numpy.ndarray):
41
axis_ticks = axis_ticks.tolist()
42
for i, _array in enumerate(axis_ticks):
43
- if not isinstance(_array[0], float):
44
- raise ValueError("Ordering can only be checked on a 1D array")
45
_array = numpy.array(_array)
46
if not numpy.all(numpy.sort(_array) == _array) or numpy.all(
47
reversed(numpy.sort(_array)) == _array
0 commit comments