Skip to content

Commit

Permalink
Edited to only clear plot if rt is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktrem committed May 17, 2024
1 parent 221711a commit 49880bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion robot_log_visualizer/plotter/matplotlib_viewer_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ def on_pick(self, event):
)

def update_plots(self, paths, legends, realtimePlot):
self.axes.cla()
if realtimePlot:
self.axes.cla()
realtimeColorIndex = 0
for path, legend in zip(paths, legends):
path_string = "/".join(path)
Expand Down

0 comments on commit 49880bf

Please sign in to comment.