Legend Line Geometry


In [1]:
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Layer, color_continuous_style, color_continuous_legend

set_default_credentials('cartoframes')

In [2]:
Layer(
    'sf_road_travel',
    color_continuous_style('auto_speed'),
    legends=color_continuous_legend(
        title='Road Congestion',
        description='Travel Speeds',
        footer='Data: City of SF'
    )
)


Out[2]:
Data: City of SF
:
StackTrace
    ">