Skip to content

Commit

Permalink
clear Bokeh plot before adding new plot
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Dec 18, 2024
1 parent 4ca38ef commit 0ef73f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ def run():
colors.extend([color] * len(s["data"]))

plot = Bokeh.Circle(x_coordinates, y_coordinates, radii=0.05, colors=colors)
bokeh.clear()
bokeh.add_plots([plot])
bokeh_iframe.set(bokeh.html_route_with_timestamp, height="650px", width="100%")
card_embeddings_chart.show()
Expand Down

0 comments on commit 0ef73f2

Please sign in to comment.