Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "extras" library that is imported to napari document #9

Open
tlancon opened this issue Jun 8, 2021 · 1 comment
Open

Add "extras" library that is imported to napari document #9

tlancon opened this issue Jun 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tlancon
Copy link
Owner

tlancon commented Jun 8, 2021

This extra .py file can be a place for the user to dump extra functionality that will be imported into napari when the overlay script is opened.

For example

@tlancon tlancon added the enhancement New feature or request label Jun 8, 2021
@tlancon
Copy link
Owner Author

tlancon commented Jun 10, 2021

Shortcut functions:

  • reset_gamma(ignore=[]) resets the gamma value of all layers to 1, ignoring the index of any layers provided in the "ignore" list
  • reset_luts(ignore=[]) resets all LUT-related parameters to their defaults, ignoring the index of any layers provided in the "ignore" list
    • This is contingent on running something like "get_defaults" on opening to remember all of the default parameters

Could potentially add a dock widget with buttons to perform each of these actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant