embed({
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"width": 500,
"height": 500,
"data": {values: surface_plot},
"mark": "rect",
"encoding": {
"x": {
"field": "x",
"type": "quantitative",
"bin": {"maxbins": 100},
"title": "x",
},
"y": {
"field": "y",
"type": "quantitative",
"bin": {"maxbins": 100},
"title": "y",
},
"color": {
"field": "z",
"bin": {"maxbins": 20},
"title": "Intensity",
"scale": {"scheme": "yellowgreenblue"},
},
}
})