In [1]:
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Layer, basic_widget
set_default_credentials('cartoframes')
In [2]:
Layer(
'seattle_collisions',
widgets=[
basic_widget(
title='Road Collisions in 2018',
description='An analysis of collisions in Seattle, WA',
footer='Data source: City of Seattle'
)
]
)
Out[2]: