ColorMap
public struct ColorMap : Encodable
Undocumented
-
Sets the default sequential colorscale for positive values.
Note that
autocolorscalemust be true for this attribute to work.Declaration
Swift
public var sequential: ColorScale? -
Sets the default sequential colorscale for negative values.
Note that
autocolorscalemust be true for this attribute to work.Declaration
Swift
public var sequentialMinus: ColorScale? -
Sets the default diverging colorscale.
Note that
autocolorscalemust be true for this attribute to work.Declaration
Swift
public var diverging: ColorScale? -
Creates
ColorMapobject with specified properties.Declaration
Swift
public init(sequential: ColorScale? = nil, sequentialMinus: ColorScale? = nil, diverging: ColorScale? = nil)Parameters
sequentialSets the default sequential colorscale for positive values.
sequentialMinusSets the default sequential colorscale for negative values.
divergingSets the default diverging colorscale.
View on GitHub
Install in Dash
ColorMap Structure Reference