Skip to content

Commit a48e095

Browse files
committed
Change i to name of components.
1 parent b325149 commit a48e095

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

example/server.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# import sys
2-
# sys.path.append('..')
1+
import sys
2+
sys.path.append('..') # comment out if importing from pip module
33

44
import dash
55
from finishline import FinishLine
@@ -17,11 +17,11 @@
1717
fl.load_plugins()
1818
app.layout = fl.generate_layout(layouts={
1919
'lg':[
20-
{'i': '1', 'x': 0, 'y': 0, 'w': 2, 'h': 2},
21-
{'i': '2', 'x': 2, 'y': 0, 'w': 1, 'h': 1},
22-
{'i': '3', 'x': 2, 'y': 1, 'w': 1, 'h': 1},
23-
{'i': '0', 'x': 0, 'y': 2, 'w': 2, 'h': 1},
24-
{'i': '4', 'x': 2, 'y': 2, 'w': 1, 'h': 1},
20+
{'i': 'HelloWorld', 'x': 0, 'y': 0, 'w': 2, 'h': 2},
21+
{'i': 'InputForm', 'x': 2, 'y': 0, 'w': 1, 'h': 1},
22+
{'i': 'OutputForm', 'x': 2, 'y': 1, 'w': 1, 'h': 1},
23+
{'i': 'plugins/ErrorBlock', 'x': 0, 'y': 2, 'w': 2, 'h': 1},
24+
{'i': 'Test Layout', 'x': 2, 'y': 2, 'w': 1, 'h': 1},
2525
],
2626
'md':[],
2727
'sm':[]

0 commit comments

Comments
 (0)