Skip to content

Vizro

vizro

Vizro

The main class of the vizro package.

__call__

__call__(environ, start_response)

Implements WSGI application interface.

This means you can do e.g. gunicorn app:app without needing to manually define server = app.dash.server.

__init__

__init__(**kwargs)

Parameters:

  • **kwargs

    Passed through to Dash.__init__, e.g. assets_folder, url_base_pathname. See Dash documentation for possible arguments.

build

build(dashboard)

Builds the dashboard.

Parameters:

Returns:

  • self

    Vizro app

run

run(*args, **kwargs)

Runs the dashboard.

Parameters:

  • *args

    Passed through to dash.run.

  • **kwargs

    Passed through to dash.run.