Closed alessandrofelder closed 11 months ago
Patch coverage: 100.00%
and project coverage change: +0.41%
:tada:
Comparison is base (
78bf071
) 93.10% compared to head (669d9c6
) 93.52%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
What is this PR
Why is this PR needed? Most meshes are coloured white when you add them to napari
What does this PR do? Performs the right colourspace conversion from the structures's RGB to napari rgb, so the mesh default colours are displayed correctly.
References
Closes #50
How has this PR been tested?
Manually:
Also, added a simple unit test.
Is this a breaking change?
Nope
Does this PR require an update to the documentation?
Docstring of
_add_mesh
has been updated.Checklist: