InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets

Save and load options of the viewer

Open
#296 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
624
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Is there a way to save/load options of the viewer?

Example: I manually manipulate the histogram curve, and the color palette of a viewer instance for a particular image.
Can I save those modifications to a python args variable, i.e. `viewer_options=[camera=x, color=y, ..]` and then initialize the viewer with those:
`itkwidget.view(image, viewer_options)`

This would allow to control the default view when presenting in binder, or similar.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.