Skip to content

Commit 9217d42

Browse files
Mike ProsserMike Prosser
authored andcommitted
key="graph" and time.sleep(0.1)
1 parent 3cabf0c commit 9217d42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/simple_graph/simple_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# Slowly vary the frequency for a more dynamic visualization
3434
frequency = 1.0 + 0.5 * math.sin(time.time() / 5.0)
35-
time.sleep(1)
35+
time.sleep(0.1)
3636

3737
except KeyboardInterrupt:
3838
print("Exiting...")

examples/simple_graph/simple_graph_panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
}
5757

5858
# Display the chart
59-
st_echarts(options=options, height="400px")
59+
st_echarts(options=options, height="400px", key="graph")

0 commit comments

Comments
 (0)