podpac.style.Style

Summary

podpac.style.Style.name

data name

Type

str

podpac.style.Style.units

data units

Type

TYPE

podpac.style.Style.clim

[low, high], color map limits

Type

list

podpac.style.Style.colormap

matplotlib colormap name

Type

str

podpac.style.Style.cmap

matplotlib colormap property

Type

matplotlib.cm.ColorMap

podpac.style.Style.enumeration_colors

data colors (replaces colormap/cmap)

Type

tuple

podpac.style.Style.enumeration_legend

data legend, should correspond with enumeration_colors

Type

tuple

podpac.style.Style.cmap
podpac.style.Style.cross_validation_lock

A contextmanager for running a block with our cross validation lock set to True.

At the end of the block, the lock’s value is restored to its value prior to entering the block.

podpac.style.Style.definition
podpac.style.Style.json

JSON-serialized style definition

The json can be used to create new styles.

See also

from_json