diff --git a/tomotopy/viewer/__init__.py b/tomotopy/viewer/__init__.py index b4ad035..012de27 100644 --- a/tomotopy/viewer/__init__.py +++ b/tomotopy/viewer/__init__.py @@ -12,6 +12,12 @@ tp.viewer.open_viewer(mdl, port=9999) # open http://localhost:9999 in your web browser +Or you can run the viewer from the command line: +:: + + python -m tomotopy.viewer a_trained_model.bin --host localhost --port 9999 + # open http://localhost:9999 in your web browser + For more details, please refer to the `tomotopy.viewer.viewer_server.open_viewer` function. '''