Skip to content

Commit 39959b5

Browse files
author
Dilmi Wickramanayake
committed
Merge branch 'main' into users/DilmiWickramanayake/Analog_Input_filtering
2 parents a82f608 + c62c497 commit 39959b5

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

examples/simple_graph/amplitude_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ class AmplitudeEnum(enum.IntEnum):
88

99
SMALL = 1
1010
MEDIUM = 5
11-
BIG = 10
11+
BIG = 10

examples/simple_graph/simple_graph.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import nipanel
1111

12-
1312
panel_script_path = Path(__file__).with_name("simple_graph_panel.py")
1413
panel = nipanel.create_panel(panel_script_path)
1514

@@ -25,8 +24,6 @@
2524
while True:
2625
amplitude_enum = AmplitudeEnum(panel.get_value("amplitude_enum", AmplitudeEnum.SMALL.value))
2726
base_frequency = panel.get_value("base_frequency", 1.0)
28-
29-
3027

3128
# Slowly vary the total frequency for a more dynamic visualization
3229
frequency = base_frequency + 0.5 * math.sin(time.time() / 5.0)
@@ -37,7 +34,6 @@
3734

3835
panel.set_value("time_points", time_points.tolist())
3936
panel.set_value("sine_values", sine_values.tolist())
40-
4137

4238
# Slowly vary the frequency for a more dynamic visualization
4339
frequency = 1.0 + 0.5 * math.sin(time.time() / 5.0)

examples/simple_graph/simple_graph_panel.py

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

77
import nipanel
88

9-
109
st.set_page_config(page_title="Simple Graph Example", page_icon="📈", layout="wide")
1110
st.title("Simple Graph Example")
1211

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)