Skip to content

Commit

Permalink
change points size
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Dec 18, 2024
1 parent 679024e commit 2f82862
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,8 @@ def run():
y_coordinates.extend([i["y"] for i in s["data"]])
colors.extend([color] * len(s["data"]))

r = 0.05
if series_len > 1000:
r = 0.2
plot = Bokeh.Circle(x_coordinates, y_coordinates, radii=0.05, colors=colors)
r = 0.2 if series_len > 1000 else 0.5
plot = Bokeh.Circle(x_coordinates, y_coordinates, radii=r, colors=colors)
bokeh.clear()
bokeh.add_plots([plot])
bokeh_iframe.set(bokeh.html_route_with_timestamp, height="650px", width="100%")
Expand Down

0 comments on commit 2f82862

Please sign in to comment.