In [1]:
from cartoframes.auth import set_default_credentials

set_default_credentials('cartovl')

In [2]:
from cartoframes.viz import Map, Layer, color_continuous_legend, color_continuous_style, formula_widget, time_series_widget, basemaps, basic_style

Map ([
    Layer(
        'maxhi_20190717_72',
        style=color_continuous_style('value', size=4, stroke_width=0, animate='value'),
        legends=color_continuous_legend(
            title='Max Heat Index for July 20, 2019',
            description='Degrees (°F)',
            footer='Issued: 7/17/19 | Source: NOAA Weather Predicition Center'
        ),
        widgets=[
            formula_widget('value', operation='sum', title='Max Degrees (°F)'),
            time_series_widget('value', title='Animation by Temperature')
        ],
    ),
    Layer(
        'state_bounds',
        style=basic_style(color='white', opacity='0.5')
    )],
    basemap=basemaps.darkmatter,
    show_info=True,
    viewport={'zoom': 2.5, 'lat': 37.572586, 'lng': -110.638529},
)


Out[2]:
Issued: 7/17/19 | Source: NOAA Weather Predicition Center
:
StackTrace
    ">