configure_viewer
Set camera, dimensions, and grid settings for a napari viewer. Use optional parameters to adjust any combination in a single call.
Instructions
Configure viewer display: camera, dimensions, and grid.
All parameters are optional — set any combination in one call.
Parameters
reset_view : bool, default False
If True, reset the camera to fit all data.
center : list[float], optional
Camera center position.
zoom : float, optional
Camera zoom factor (must be > 0).
angles : list[float], optional
Camera angles as [azimuth, elevation, roll] in degrees.
ndisplay : int, optional
Number of displayed dimensions (2 or 3).
dims_axis : int, optional
Axis index for slider position (use with dims_value).
dims_value : int, optional
Step value for the given axis.
grid : bool, optional
Enable or disable grid view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset_view | No | ||
| center | No | ||
| zoom | No | ||
| angles | No | ||
| ndisplay | No | ||
| dims_axis | No | ||
| dims_value | No | ||
| grid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||