cartoframes.viz.style module

class cartoframes.viz.style.Style(data=None)

Bases: object

Parameters:data (str, dict) – The style for the layer. It can be a dictionary or a viz string. More info at CARTO VL styling <https://carto.com/developers/carto-vl/guides/style-with-expressions/>

Example

String API.

Dict API.

compute_viz(geom_type, variables={})