Color Bins Style

Helper function for quickly creating a color bins style. Use help(color_bins_style) to get more information.


In [1]:
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Layer, color_bins_style

set_default_credentials('cartoframes')

In [2]:
Layer('eng_wales_pop', color_bins_style('pop_sq_km'))


Out[2]:
:
StackTrace
    ">