Struct Viridis

Inheritance Relationships

Base Type

Struct Documentation

struct Stock::Palettes::Viridis : public Palette

Color blind friendly dynamic sequential palette Viridis from BIDS/MatPlotLib: https://github.com/BIDS/colormap

Public Functions

inline Viridis()
inline virtual Category getCategory() const override

Returns the category of the palette

See

Category

inline virtual bool getColorBlindFriendly() const override

Returns whether the palette is confirmed as suitable for colorblind viewers

inline explicit Viridis(const unsigned int &size)

Construct the Palette by specifying how many color values are required

Protected Functions

inline virtual const std::vector<Color> &colors() const override