nxviz
nxviz copied to clipboard
colormap changes
Hi,
Would it be possible to expose a cmap kwargs for the respective plots? The accent colours on certain devices make it difficult, especially for colour blind individuals, to distinguish the colours. I used the set13 or paired colormaps from palettable.colorbrewer. It would be nice if the user can supply his/her own colour map.
@zeneofa yes, definitely! Are you willing to put in a PR for this?
sure, I can put something together :), will have to be a bit later though...
Not a problem. I'm also a bit swamped at the moment, which is why I asked :smile:. Looking forward to the PR!
Some things that I can think of that will help with usability include:
- docstrings
- error messages for invalid colormaps
- an example use case that can be executed.
Work in progress branch node_cmap.
It is missing
- Error handling
- Tests
Anyone willing to take a crack at finishing the implementation is more than welcome.