Color Category Style

Helper function for quickly creating a color category style. Use help(color_category_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, color_category_style

Layer('wburg_parcels', color_category_style('landuse_type'))


Out[2]:
:
StackTrace
    ">