How to get rid of black edges from XYZ function mesh?
By default the meshes generated by this operator have Wireframe Display enabled in the viewport.
If you have already generated the mesh :
Go the object properties &gt; Viewport Display &gt; Uncheck Wireframe

If you just created the mesh using the operator, look into the lower left, you can expand a panel or use the shortcut F9, then look into the lower part of the panel. Uncheck &quot;Show Wireframe&quot;.

Note 1 : This setting will be remembered in the current Blender session.
Note 2 : If you want to change the behaviour for all sessions, go to your blender install folder and then 2.** / scripts / addons / add_mesh_extra_objects and open add_mesh_3d_function_surface.py (use notepad)
Search for &quot;AddXYZFunctionSurface&quot; class in the file, go down to the lines
show_wire : BoolProperty(
        name=&quot;Show wireframe&quot;,
        default=True,
        description=&quot;Add the object’s wireframe over solid drawing&quot;
        )

500 to 504 in my file, and replace
    default=True,

with
    default=False,

Save the file, close it, open blender, the setting will be set to False by default.