🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Surface plot with continent outlines

Hi,
I am trying to add continent outlines and fill oceans in a 3d surface plot. I thought I could do this in the layout options using the geo attributes but I have been unsuccessful. My data has a cubic conformal projection so it would be nice to use the geo attributes so that the grid lines can reflect this.
Do the geo options work for 3d surface plots?
This is what my plot looks like so far:

Below is the code I used:

from scipy.io import netcdf
import plotly.plotly as py
import plotly.graph_objs as go
py.sign_in(‘Sabina788’,‘N5YnSRmEOrqiV1KqmdM8’)
ncfile=netcdf.netcdf_file(‘zg_cntrl_ens_mean.nc’,‘r’)
lon=ncfile.variables[‘lon’][:,:]
lat=ncfile.variables[‘lat’][:,:]
topog=ncfile.variables[‘Z_sfc’][:,:]
data=[go.Surface(z=topog,x=lon,y=lat,cmin=0.1)]
#fig=go.Figure(data=data)data=[go.Surface(z=topog,x=lon,y=lat)
layout=go.Layout(title=‘Topography’,scene=dict(aspectmode=dict(type=“manual”),
aspectratio=dict(y=1,x=2,z=0.25)),
geo=dict(
projection=dict(type=“conic conformal”),
showcoastlines=True,
showocean=True,
showcountries=True,
countrycolor=“black”,
oceancolor=“white”
)
)
go.lon=lon
go.lat=lat
fig=go.Figure(data=data,layout=layout)
py.plot(fig,filename=“topo_polish”)
py.image.save_as(fig,filename=“topog_polish.png”)
ncfile.close()