✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Get all the interpolated data displayed in contour plot

Hi all !

I would like to ask if there is a way to get the list of all the data [x,y,z] coordinates corresponding to all isolines that is displayed in contour plot. I would like to display the data in a table correspondance.

I would like to filter the lines displayed in contour plot with fixed z too. For example, I fix z = 5 and I only get the line correspondant to this isoline displayed in my contour plot graph. I don’t know if it is possible.

Thank you.

You can try reading the SVG path data from the DOM e.g.:

But yeah, we don’t expose an easier way to do this at the moment unfortunately.