Skip to content

Commit e291db3

Browse files
authored
Update __main__.py
1 parent 4918e44 commit e291db3

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/pyvista_mcp_server/__main__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def flip_faces(
300300
def plot(
301301
filename: Path,
302302
output_filename: Path,
303-
) -> Path:
303+
) -> None:
304304
"""Plot a mesh in a PyVista plotter.
305305
306306
Parameters
@@ -315,17 +315,11 @@ def plot(
315315
output_filename : Path
316316
Path to export the html file to.
317317
318-
Returns
319-
-------
320-
Path
321-
Absolute path to export the html file to.
322-
323318
"""
324319
mesh = pv.read(filename)
325320
p = pv.Plotter()
326321
p.add_mesh(mesh, color="tan", show_edges=True)
327322
p.export_html(output_filename)
328-
return sys.executable / output_filename
329323

330324

331325
if __name__ == "__main__":

0 commit comments

Comments
 (0)