HeatmapColorOptions🔗
Controls various color options
Definition🔗
class HeatmapColorOptions:
"""
Controls various color options
"""
# Sets the color mode
mode: typing.Optional[heatmap.HeatmapColorMode]
# Controls the color scheme used
scheme: str
# Controls the color fill when in opacity mode
fill: str
# Controls the color scale
scale: typing.Optional[heatmap.HeatmapColorScale]
# Controls the exponent when scale is set to exponential
exponent: float
# Controls the number of color steps
steps: int
# Reverses the color scheme
reverse: bool
# Sets the minimum value for the color scale
min_val: typing.Optional[float]
# Sets the maximum value for the color scale
max_val: typing.Optional[float]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.