How to do 3D Plot surface with isolinies

I think this is the thing. Plotly does this calculation in JS and it’s not accesible from the python side. Either you search for the corresponding functions in the plotly source code on github or you might get some inspiration from this post: