Color Continuous Style

Helper function for quickly creating a color continuous style. Use help(color_continuous_style) to get more information.


In [1]:
from cartoframes.auth import set_default_credentials

set_default_credentials('cartoframes')

In [2]:
from cartoframes.viz import Layer, color_continuous_style

Layer('temps', color_continuous_style('value'))


Out[2]:
:
StackTrace
    ">
    
    
    In [3]:
    Layer(
        'temps',
        color_continuous_style(
            'value',
            range_min=80,
            range_max=100,
            palette='temps',
            stroke_color='transparent'
        )
    )
    
    
    
    
    Out[3]:
    :
    StackTrace
      ">