Animation Style

The animation_style helper animates a visualization by property. When setting default_widget=True, it adds by default a Time Series widget. Use help(animation_style) to get more information.


In [1]:
from cartoframes.auth import set_default_credentials

set_default_credentials('cartoframes')

In [2]:
from cartoframes.viz import Layer, animation_style

Layer('parcels', animation_style('ccyrblt'))


Out[2]:
:
StackTrace
    ">
    
    
    In [3]:
    from cartoframes.viz import Layer, animation_style
    
    Layer('parcels', animation_style('ccyrblt'), default_widget=True)
    
    
    
    
    Out[3]:
    :
    StackTrace
      ">