question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Save and load options of the viewer

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
leepingcommented, Oct 23, 2020

Hello there,

I’m revisiting this issue as I’m teaching the same course material again. I’m now using version 0.32.0 of itkwidgets.

pl.show(True) # Viewer does not appear.

This issue has been resolved. Thank you!

I’d still like the ability to set the colormap that the viewer is created with, as I have some “nontrivial” colormaps where the isosurface is colored using a different function. Please let me know if this is possible.

Thanks a lot,

  • Lee-Ping
1reaction
leepingcommented, Jun 12, 2020

Thank you @thewtex - because I install my packages using conda, I might wait until it is released to test everything works locally and on Binder.

  • Lee-Ping
Read more comments on GitHub >

github_iconTop Results From Across the Web

Games - Save & Load - Tabletop Simulator Knowledge Base
On the main Games menu, you will see Save & Load. It shows your 4 most recent saves and the most recent ......
Read more >
Save & Load — Blender Manual
Generate a preview by taking a screenshot of the active Workspace. Camera View. Generate a preview of a Workbench render from the camera's...
Read more >
How to save and load player progress with localStorage
This short tutorial and the demo that goes with it illustrate how you can save player progress in your Phaser 3 game using...
Read more >
Saving session objects and session options to a file
The Save Session Objects & Options dialog box saves all the definitions in a particular category when you select the category; you cannot...
Read more >
ILME-FX3 | Help Guide | Save/Load Settings - Sony Corporation
The following setting parameters cannot be saved using the [Save/Load Settings] function. (Menu items without setting parameters, such as, [Focus Magnifier] ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found