hvplot heatmap large data

Hi,

I am attempting to create a hvplot.heatmap with data in tidy format. Although my data is too large and I lack the computational power to plot it, it eventually fails. I also tried Datashed and Rasterize options, but it doesn’t work. I’d want to ask recommendations for an efficient way of plotting it. I really need a dynamic visualization that shows the entire dataset.

Thank you very much.

Hey acdom, would probably need a minimal example and more details to provide help.

df.hvplot(rasterize=True) should be able to handle it.

Hi ahuang11,

I tried that and Datashader but still doesn’t work. Here is an example: tidy_FC.hvplot.heatmap(x=‘Time’, y=‘ROI’, C=‘Value’, xlabel=‘Time [s]’, title=‘FC’, cmap=‘viridis’).opts(yaxis=None, active_tools=), the dimensions are 100*1317141

Thank you.

To clarify a reproducible example, please create random data using numpy / pandas–one that I can copy paste.