Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Remove colors as gradient

Could you suggest how the colorscale could be altered to set it as solid colors as in the image rather than a gradient ?