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

Name custom colormaps for photometric PALETTE #33

Merged

Conversation

GenevieveBuckley
Copy link
Collaborator

Closes #32

Naming the custom colormap with a dictionary value avoids duplicating custom colormaps in the napari colormap dropdown list. Otherwise, we get a new (duplicate) colormap every time a photometric PALETTE tiff image is opened.

Copy link
Contributor

@Czaki Czaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In comment, I put solution how to solve the problem of different photometric colormaps.
This is general idea, and require more code (declartion of variables, colormap name generator etc)

napari_tiff/napari_tiff_metadata.py Outdated Show resolved Hide resolved
@GenevieveBuckley GenevieveBuckley merged commit 142dab1 into napari:main Jul 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Photometric PALETTE tiff colormap bug
2 participants