79251028

Date: 2024-12-04 11:50:59
Score: 0.5
Natty:
Report link

There is no need to get paths but a similar feature,it's called segments I suppose.

plt.contourf(ds.TIME1,ds.DEPTH,ds.temp,levels=(np.arange(50,450,40)),cmap="hot)
contour = plt.contour(ds.TIME1,ds.DEPTH,ds.temp,levels=[23])
contour.allsegs[0][1] # this will give all the x,y data points for segment, and so on for rest of the segments. 
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ranjan Kumar Sahu