In [1]:
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Layer, basic_style
set_default_credentials('cartoframes')
In [2]:
Layer('sf_nbhd_crime',
basic_style(
color='blue',
size=20,
stroke_color='rgba(255, 255, 255, 0.8)',
stroke_width=10
),
title='San Francisco Crime'
)
Out[2]: