SkinLayerStudio API (Beta)
/
API Reference
/
Layer
set_visible()
Download MarkdownShows or hides this layer. The heatmap updates with it.
Hiding does not delete the weights. Set it back to True and the original weights show again.
Signature
layer.set_visible(visible) -> None
| visible | Meaning |
|---|---|
True |
Shown. |
False |
Hidden. |
Example
layer = api.layer("Arm")
layer.set_visible(False)
print(layer.visible)