The function list_plot3d()
has options to do that. To learn about this, look at the documentation bt typing:
sage: list_plot3d?
and search for "OPTIONAL KEYWORDS:" and " EXAMPLES:".
For example, you can do:
sage: list_plot3d(M, interpolation_type='spline', degree=3)