Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Altair Map, Is it possible to add a basemap?

I am working on a very basic map using Altair, using vector data (point locations). General visualization capabilities are great, but I can not find out if it is possible to use a basemap with my map.

Something similar to mpl_toolkits.basemap maybe?

like image 372
Can Sucuoglu Avatar asked Dec 19 '25 07:12

Can Sucuoglu


1 Answers

No, as of the current version (Altair 4.0), there is no functionality to add basemaps to geographic charts in Altair. The relevant Vega-Lite feature request can be found here: https://github.com/vega/vega-lite/issues/5758

like image 86
jakevdp Avatar answered Dec 20 '25 19:12

jakevdp