Black Lives Matter. Please consider donating to Black Girls Code today.

Heatmaps and zsmooth question

Hello,

I’m fairly new to plotly, but have been coding in R for a number of years. I was wondering if there is a way to smooth the z data in a heatmap vertically, but not horizontally?

Thanks for any tips!