Skip to content

Commit 3d60ea7

Browse files
Mike ProsserMike Prosser
authored andcommitted
fix lock file and add titles and icons to the panel tabs
1 parent 59ac9d9 commit 3d60ea7

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

examples/all_types/all_types_panel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
panel = nipanel.initialize_panel()
99

10-
st.title("All Types")
10+
st.set_page_config(page_title="All Types Example", page_icon="📊", layout="wide")
11+
st.title("All Types Example")
1112

1213
for name in all_types_with_values.keys():
1314
col1, col2 = st.columns([0.4, 0.6])

examples/sample/sample_panel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
panel = nipanel.initialize_panel()
88

9-
st.title("Sample Panel")
9+
10+
st.set_page_config(page_title="Sample Panel Example", page_icon="📊", layout="wide")
11+
st.title("Sample Panel Example")
1012

1113
col1, col2 = st.columns([0.4, 0.6])
1214

examples/simple_graph/simple_graph_panel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
from nipanel import initialize_panel
77

88

9+
panel = initialize_panel()
10+
911
st.set_page_config(page_title="Simple Graph Example", page_icon="📈", layout="wide")
10-
st.title("Simple Sine Wave Visualization")
12+
st.title("Simple Graph Example")
1113

12-
panel = initialize_panel()
1314
time_points = panel.get_value("time_points", [0.0])
1415
sine_values = panel.get_value("sine_values", [0.0])
1516
amplitude = panel.get_value("amplitude", 1.0)

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)