[New Feature] remove redundant colormap definitions
Opened this issue · 0 comments
Feature Description
There are several colormap definitions in qudi.util.colordefs
. The four perceptually uniform sequential colormaps are now part of matplotlib
as well as pyqtgraph
. I could not find the ColorScaleRainbow
colormap in these packages but it is also not used anywhere in qudi-core
or qudi-iqo-modules
.
Is suggest to remove the redundant definitions. Instead, I would more clearly state which colormap is the default one for qudi and integrate that into e.g. the QudiMatplotlibStyle
.
Related Problem
No response
Considered Alternatives
Before removing the definitions completely, we could replace them with a link to the definitions in e.g. pyqtgraph
and add a deprecation warning if they are used.
Additional Context
I stumbled upon this while trying to figure out which colormap to use while saving a data thumbnail matplotlib figure.
Contact Details
No response