luts.family
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 external packages like plotly, colorcet, and matplotlib. If those packages are not installed, such families will comprise empty lists.
The full collection of available colormaps is shown here.
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)