2021-05-12T09:38 AM
(This post was last modified: 2021-05-12T09:42 AM by Sylvain Herlédan.)
load_colormap is used in two places:
So having a local version of format_colortable with the hardcoded colormap should not be an issue.
- format_colortable which is used by many readers
- a tool which generates a picture of the colormap that can be used as a legend in the portal. Note that it is not mandatory to generate this picture, that you can generate this image independently (with a drawing tool for example) and that we don't use these pictures anymore in the dev version of Syntool (the portal reads min, max and colormap from the config to build the legend)
So having a local version of format_colortable with the hardcoded colormap should not be an issue.