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

Label image disappears when performing clustering #271

Open
stefanhahmann opened this issue Sep 29, 2023 · 0 comments
Open

Label image disappears when performing clustering #271

stefanhahmann opened this issue Sep 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@stefanhahmann
Copy link
Contributor

stefanhahmann commented Sep 29, 2023

For newbie users of the clusters plotter / napari, it may feel as a bug, if the label image disappears after drawing the first cluster.

The reason why it gets black is that the opacity is automatically set to zero so that the cluster layer can be seen and not be disturbed by the labels layer.

As this auto-setting is not made explicit to the user, the user may think that the labels layer is "broken" after drawing clusters. This is particularly the case, if the option "hide non-selected clusters" is chosen.

I could imagine 4 potential solutions:

  1. Make auto opacity setting of the labels layers an opt-in feature with a check-box
  2. Set the opacity only to 0,05 (or similar) instead of zero so that image is still visible
  3. Show some warning/info to the user that the opacity of the labels layer has been automatically is to zero (and can be set back)
  4. Add a description that this happens to https://github.com/BiAPoL/napari-clusters-plotter/blob/main/README.md

Steps to reproduce:

GIF 29 09 2023 16-38-11

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