I haven’t got internet connection on my work machine, but I’d like to use dash. When I try to run my code with
app.css.config.serve_locally = True
app.scripts.config.serve_locally = True
I also get only white screen without any graphics or errors.
Here some simple code for example:
from jupyter_dash import JupyterDash
import dash_core_components as dcc
import dash_html_components as html
app = JupyterDash('offline example')
app.layout = html.Div([
dcc.Graph(id='my-graph', figure={'data': [{'x': [1, 2, 3], 'y': [4, 1, 2]}]})
])
app.css.config.serve_locally = True
app.scripts.config.serve_locally = True
if __name__ == '__main__':
app.run_server(mode=“Inline”)