Skip to content

Commit a3b19ea

Browse files
committed
Add one more example
1 parent 45c00f2 commit a3b19ea

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

scene_usage.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
import dash_mp_components
2+
import dash
3+
from dash.dependencies import Input, Output
4+
import dash_html_components as html
5+
import dash_core_components as dcc
6+
from tests.grid import grid
7+
import functools
8+
from dash.exceptions import PreventUpdate
9+
10+
#investigate why it does not work
111
app = dash.Dash(__name__)
212
app.layout = html.Div(children=[
313
dash_mp_components.CameraContext(children=[
@@ -459,3 +469,7 @@
459469
]),
460470
html.Div(id='selected-object'),
461471
])
472+
473+
# use True to load a dev build of react
474+
if __name__ == '__main__':
475+
app.run_server(debug=True)

0 commit comments

Comments
 (0)