Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple cyclic matplotlib colourmap based on viridis.
import matplotlib.colors
cyclic_viridis = matplotlib.colors.LinearSegmentedColormap.from_list(
(0.25,[256 // 3]),
(0.5,[2 * 256 // 3]),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.