The current colormap constants exclude the special monochromatic presets that the frontend accepts. It would be good to remove these hardcoded values entirely, and to validate colormap strings against a list obtained dynamically from the frontend (similarly to the way we validate image dimension parameters). The list should also be made available to the user.
The current colormap constants exclude the special monochromatic presets that the frontend accepts. It would be good to remove these hardcoded values entirely, and to validate colormap strings against a list obtained dynamically from the frontend (similarly to the way we validate image dimension parameters). The list should also be made available to the user.