Is there anyway to make a color a lot brighter in matplotlib?
I have the following color map:
cmap = clr.LinearSegmentedColormap.from_list('red_yellow',
[(0,'#00001a'),
(0.59,'#e60000'),
(0.85,'#ff8000'),
(0.97,'#ffcc00'),
(1,'#ffff00')], N=600)
which looks like this:
My question:
Is there any way to make the yellow color in the last bracket of the colormap [given by this line: (1,'#ffff00')
] look way brighter than it does now?
It's not really that I want the color to be 'lighter', it's more that I want it to stand out more, kind of like it is illuminated and 'glowing' hot. I want to keep the warmth of the yellow while making it look VERY bright.
I want it to really stand out, almost like it is shining. Is there any way to do this in matplotlib?
Thanks.