diff --git a/cortex/webgl/view.py b/cortex/webgl/view.py index da506235f..02e99475a 100644 --- a/cortex/webgl/view.py +++ b/cortex/webgl/view.py @@ -382,6 +382,14 @@ def show( headless viewers. Default True **kwargs All additional keyword arguments are passed to the template renderer. + + Returns + ------- + client : JSMixer or None + If `open_browser` is True, a `JSMixer` client connected to the + opened browser tab, which can be used to control the viewer + programmatically (e.g. `client.getImage()`, `client.animate()`). + If `open_browser` is False, returns None. """ # populate default webshow args