set_layer_properties
Modify rendering and identification properties of a napari layer by exact name, including visibility, opacity, colormap, blending, contrast limits, gamma, renaming, and activation.
Instructions
Set properties on a layer by name.
Parameters
name : str Layer name (exact match). visible, opacity, colormap, blending, contrast_limits, gamma Standard layer rendering properties. new_name : str, optional Rename the layer. active : bool, optional If True, make this the selected/active layer. Setting to False has no effect (use viewer selection directly).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| visible | No | ||
| opacity | No | ||
| colormap | No | ||
| blending | No | ||
| contrast_limits | No | ||
| gamma | No | ||
| new_name | No | ||
| active | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||