Use colormaps for object types in paves.image #9

Closed
opened 2025-05-21 09:32:05 -04:00 by dhdaines · 0 comments
dhdaines commented 2025-05-21 09:32:05 -04:00 (Migrated from github.com)

PAVÉS should support colormaps using the somewhat-standard Matplotlib API which is also implemented by a large number of third-party colormap libraries and collections.

Specifically it should use the colors attribute of a provided colormap to assign a new color to each new label encountered when displaying objects with pi.box or pi.mark. This should be complementary to the existing dict-based color assignment feature.

It should also have a built-in colormap that it uses when no color argument is provided.

PAVÉS should support colormaps using the [somewhat-standard Matplotlib API](https://matplotlib.org/stable/gallery/color/colormap_reference.html) which is also implemented by a large number of third-party colormap libraries and collections. Specifically it should use the `colors` attribute of a provided colormap to assign a new color to each new label encountered when displaying objects with `pi.box` or `pi.mark`. This should be complementary to the existing dict-based color assignment feature. It should also have a built-in colormap that it uses when no `color` argument is provided.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dhd/paves#9
No description provided.