I need to show square Histogram2d data on a Scattergeo plot of some data. However, I’ve ensured that fig.add_trace(go.Histogram2d()) is after go.Figure(data=go.Scattergeo()), and verified this with fig.data(). However, no matter what I do, the map renders over the Histogram2d plot. I’ve tried modifying things with fig.update_layout(geo = dict(countrycolor, oceancolor, lakecolor, and subunitcolor)) to rgba values with 0.5 alpha, but the map does not become transparent at all.
How can I render a Histogram2d plot on a scattergeo plot? I don’t want to use go.Densitymapbox because it’s not square.