Alphabetical list Categories
luts.family Return a list of colormaps in a family.
Call signature:

luts.family(name)

Help text:

x = luts.family(f) returns a list of all the colormaps in the given family.
Several families depend on the availability of plotly. If plotly is not installed, those families will comprise empty lists.
See also luts.families, luts.demo.

Example:

import qplot as qp

import numpy as np

qp.figure('luts.family', 3, 3)

names = qp.luts.family("native")

N = len(names)

for n in range(N):

        cc = qp.luts.get(names[n], 1024)

        L,C = cc.shape

        qp.image(cc.reshape(1,L,C), rect=[0, n, 1, .5])

        qp.at(0, n+.3)

        qp.align('right', 'middle')

        qp.text(names[n], dx=-5)

The full collection of available colormaps is shown here.

QPlot Documentation — (C) Daniel Wagenaar, 2014–2023