InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets

Pass custom built MPL colormaps

Open
#186 5 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
624
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Feature request: allow passing custom made Matplotlib colormaps

```py
import matplotlib.pyplot as plt
cmap = plt.cm.get_cmap("viridis", 5)
```

then pass that colormap to the `Viewer`

(the goal isn't necessarily catecorical colormaps... this is just a simple example. A user might want to make a custom normalized map that are far more complex)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.