I have code to do a contour plot of Antarctica using Basemap, and I’m trying to convert it in to a Dash app. Below is what I do in Basemap, but I’m struggling to do the same thing in Dash - can anyone show me an example or give me any pointers?
map = Basemap(projection=‘spaeqd’,boundinglat=-60,lon_0=180,resolution=‘l’)
map.drawparallels(np.arange(-80.,81.,20.), color=‘grey’)
map.drawmeridians(np.arange(-180.,181.,20.), color=‘grey’)
map.drawcoastlines()
map the longitude, latitude coordinates
x,y = map(*np.meshgrid(lons,lats))
#try a contour plot
cs = map.contourf(x,y, heights, cmap=plt.cm.seismic)