Adding a world map to a 3D Volume graph (python)

Hi everyone
As a weather guy I’m working on creating 3D animation of various atmospheric fields
I’ve managed to create a 3D graph but now I’d like to add a 2d map world within the same graph so the viewer will get the reference on where we are located in the world

Is that possible? can anyone direct me here?

Many thanks


Hi @stavnahum,
Welcome to forum!! You can plot a map included in a plane, like this one:
[] (
You have to read the geometry of a continent, country or region boundary from a geojson fiile or a shapefile, and plot it as a go.Scatter3d instance, mode ='lines'.

I was wondering whether there has been any progress in the last 2+ years on this topic.

I’m plotting 3D flights trajectories which look like this:

x, y are longitude, latitude and z the altitude (in feet).

I would like to add instead a proper map with rasters, similar to what is done in all the functions used in plotly express to make 2D scatter plots. Is it really hard to extend this to the 3D scatter plot?

Best I’ve seen is this guide. I’m also running into the same issue and would like to insert a basemap into a 3D line plot, but so, so puzzled.