Carpet Plot Interpolation Scheme

I am currently creating a carpet plot using Plotly’s python library. The question I have is, what interpolation or meshing scheme does Plotly use to fit the carpet lines onto the surface? And, how are we able to use different schemes?