Use a solid color background

By default, CARTOframes uses CARTO's Positron basemap with labels under. The basemap can be customized to use another CARTO style (Voyager, Dark Matter), a Mapbox basemap, or a custom background color; all through the basemap parameter.

In the example below, the default basemap is changed to a solid color background.


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

set_default_credentials('cartovl')

In [2]:
Map(
    Layer('pittsburgh_311'),
    basemap='#dadcf4'
)


Out[2]:
:
StackTrace
    ">