From 816fcd0719435f242eeb3807d493391de42889c9 Mon Sep 17 00:00:00 2001 From: almaz Date: Wed, 18 Dec 2024 17:43:50 +0100 Subject: [PATCH] Update point size based on series length --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 8bfcf76..fbca739 100644 --- a/src/main.py +++ b/src/main.py @@ -392,7 +392,7 @@ def run(): y_coordinates.extend([i["y"] for i in s["data"]]) colors.extend([color] * len(s["data"])) - r = 0.2 if series_len > 1000 else 0.5 + r = 0.1 if series_len > 1000 else 0.05 plot = Bokeh.Circle(x_coordinates, y_coordinates, radii=r, colors=colors) bokeh.clear() bokeh.add_plots([plot])