Is it possible to use x=, y=, z= in 3D surface plots?

I am creating a 3D surface plot, but because of missing values, one axis is being pushed together with the z=[[1, 2, 3, 4, 9],[4, 1, 3, 7, 9],[5, 4, 7, 2, 9]] format. On top of that, remapping axes to these numbers is problematic.

Is it not possible to use three lists of x, y and z for surfaces, like is used in heatmaps? Iโ€™m working in python. I can see the option in the web interface as described here: 3d surface plot, but canโ€™t work it out in the API.

Thanks

By three list of x, y, z, you mean x, y, z all 1-dimensional?

Surface traces must have a 2D z. Other types of triangularizations can be achieve using either scatter3d with delaunay axes or the mesh3d trace type. More info here.