This example illustrates how to add one Layer to a Map.
For more information, run help(Layer)
.
from cartoframes.auth import set_default_credentials
from cartoframes.viz import Map, Layer
set_default_credentials('cartoframes')
Map(
Layer('global_power_plants')
)
If you want to render only one layer, you can use directly the Layer class.
Layer('global_power_plants')