Skip to content

Commit

Permalink
Added plotly layout to copy_template (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kallekleiv authored Nov 14, 2019
1 parent a6ad663 commit 03d26a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webviz_config/templates/copy_data_template.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ import {{ module[0] }} as {{ module[1] }}
app = dash.Dash()
app.config.suppress_callback_exceptions = True

app.webviz_settings = {
"plotly_layout": {{ plotly_layout }},
}

CACHE.init_app(app.server)

WEBVIZ_STORAGE.storage_folder = path.join(
Expand Down

0 comments on commit 03d26a2

Please sign in to comment.