diff --git a/examples/simple_graph/simple_graph.py b/examples/simple_graph/simple_graph.py index ab79929..4b63530 100644 --- a/examples/simple_graph/simple_graph.py +++ b/examples/simple_graph/simple_graph.py @@ -32,7 +32,7 @@ # Slowly vary the frequency for a more dynamic visualization frequency = 1.0 + 0.5 * math.sin(time.time() / 5.0) - time.sleep(1) + time.sleep(0.1) except KeyboardInterrupt: print("Exiting...") diff --git a/examples/simple_graph/simple_graph_panel.py b/examples/simple_graph/simple_graph_panel.py index 6fde157..266a34a 100644 --- a/examples/simple_graph/simple_graph_panel.py +++ b/examples/simple_graph/simple_graph_panel.py @@ -56,4 +56,4 @@ } # Display the chart -st_echarts(options=options, height="400px") +st_echarts(options=options, height="400px", key="graph")