Skip to content

Update viewer.md to mention that you can rename axes using the roll dims popup #709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/tutorials/fundamentals/viewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,13 @@ Locking prevents a dimension from being rolled (reordered). This can be particul
useful, for example, with a `3D+time` dataset where you may want to fix the time dimension,
while being able to roll through the spatial dimensions.

```{tip}
The roll dimensions pop up also lets you rename the dimension axes used by the viewer.
Just double click on the text to the right of the padlock icon. For example, for a 3D volume, double-click
the default axis name `0` and change it to `Z`. The change will be reflected in the slider in 2D view
and the `axes` overlay.
```

The dimension order can also be checked programmatically as follows:

```{code-cell} python
Expand Down