sciris.sc_colors.turbocolormap

turbocolormap(apply=False)[source]

NOTE: as of Matplotlib 3.4.0, this colormap is included by default, and will soon be removed from Sciris.

Copyright 2019 Google LLC.

SPDX-License-Identifier: Apache-2.0

Author: Anton Mikhailov

Borrowed directly from https://gist.github.com/mikhailov-work/ee72ba4191942acecc03fe6da94fc73f, with thanks!

Create a map similar to Jet, but better. Set apply=True to use immediately.

Demo and example:

cmap = sc.turbocolormap()
sc.colormapdemo(cmap=cmap)

Version: 2020mar20