In [1]:
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Layer, basic_legend
set_default_credentials('cartoframes')
In [2]:
Layer(
'trees_sf',
legends=basic_legend(
title='Tree Map',
description='San Francisco, CA',
footer='Source: City of SF'
)
)
Out[2]: