Export interpolated data

I created a contour map with some irregular data inputs. Plotly neatly interpolates missing data and create a nice image.

Is it possible to export/access the raw data for further processing?

For example let say my input data is at columns [0, 1.2, 2, 3.4, 4] and i want to export the values at [0, 1, 2, 3, 4] instead. Or export more detailed data [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4].

Hi @jerometremblay I don’t think you can export the interpolated version of your data, it is probably done in plotly.js directly in the GPU. You can however use Python libraries like scipy.interpolate for this kind of tasks :slight_smile:

1 Like

Thank you for the hint. The main goal is to evaluate the plotly.js and see how it compares to our previous system.

I understood that the interpolation itself is not done by the contour map but by the heatmap, and managed to place breakpoints inside heatmap/plot.js and observe see what is going on.

I can recover pixel data, but not yet data points. I suppose i’ll figure it out. :slight_smile: