Skip to content

Developing tool to build a Plotly Dash app for a DataJoint pipeline

Notifications You must be signed in to change notification settings

datajoint/datajoint-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datajoint-dashboard

Developing toolbox to build a Plotly Dash app for a DataJoint pipeline

A simple example to build a page for DataJoint table subject.Subject:

import dash
import dash_bootstrap_components as dbc
from pipeline import lab, subject      # import all modules that the target tables may depend on
from datajoint_dashboard.templates import TableBlock

app = dash.Dash(__name__,
                external_stylesheets=[dbc.themes.BOOTSTRAP],
                suppress_callback_exceptions=True)

app.layout = TableBlock(subject.Subject, app)

if name == '__main__':
    app.run_server(port='8050')

Run the script, open your broswer and visit http://localhost:8050, You will get a page like this: page preview

About

Developing tool to build a Plotly Dash app for a DataJoint pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages