current_indexΒΆ
- property ImageWidget.current_index: dict[str, int]ΒΆ
Get or set the current index
- Returns:
index β |
dict
for indexing each dimension, provide adict
with indices for all dimensions used by sliders or only a subset of dimensions used by the sliders. | example: if you have sliders for dims βtβ and βzβ, you can pass either{"t": 10}
to index to position 10 on dimension βtβ or{"t": 5, "z": 20}
to index to position 5 on dimension βtβ and position 20 on dimension βzβ simultaneously.- Return type: