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 napari 0.5.0 support & update prediction layer display #49

Merged
merged 4 commits into from
Jul 26, 2024

Conversation

jluethi
Copy link
Collaborator

@jluethi jluethi commented Jul 26, 2024

This is the improved version of #40

It adds support for napari > 0.4.18 by conditionally using the new colormap API. Due to the issues described in #41 and napari/napari#6732, the new updating is not scaling great with large label layers. But at least now it works.

I'm also adding a feature we've been discussing at different times (cc @fdsteffen @MaksHess ): Instead of turning the prediction layer off when annotations are made, the prediction layer is shown as a contour instead of a fill value. The 0.2.0 release will bring that feature, happy to tweak it going forward if the contours aren't what feels intuitive

@jluethi jluethi changed the title Add napari 050 support Add napari 0.5.0 support & update prediction layer display Jul 26, 2024
@jluethi jluethi marked this pull request as ready for review July 26, 2024 18:22
@jluethi jluethi merged commit 1734442 into main Jul 26, 2024
10 checks passed
@jluethi jluethi deleted the 41_napari_050_support branch July 26, 2024 18:25
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.

1 participant