#!/usr/bin/env python # coding: utf-8 # ## Default popup # In[1]: from cartoframes.auth import set_default_credentials set_default_credentials('cartoframes') # In[2]: from cartoframes.viz import Layer, color_bins_style, default_popup_element Layer( 'eng_wales_pop', color_bins_style('pop_sq_km'), popup_hover=[ default_popup_element(title='Population per square km', format=',.3r') ] )