Module palette::gradient::named [−][src]
A collection of named gradient constants. Can be toggled with the "named_gradients"
Cargo feature.
They are taken from the new matplotlib gradients.
use palette::gradient::named as grad_const; let pal = grad_const::MAGMA.take(5);
Constants
INFERNO | New matplotlib colormap by Nathaniel J. Smith, Stefan van der Walt, and (in the case of viridis) Eric Firing. This gradient is perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. The colormap is released under the CC0 license public domain dedication. |
MAGMA | New matplotlib colormap by Nathaniel J. Smith, Stefan van der Walt, and (in the case of viridis) Eric Firing. This gradient is perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. The colormap is released under the CC0 license public domain dedication. |
PLASMA | New matplotlib colormap by Nathaniel J. Smith, Stefan van der Walt, and (in the case of viridis) Eric Firing. This gradient is perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. The colormap is released under the CC0 license public domain dedication. |
VIRIDIS | New matplotlib colormap by Nathaniel J. Smith, Stefan van der Walt, and (in the case of viridis) Eric Firing. This gradient is perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. The colormap is released under the CC0 license public domain dedication. |