Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed May 13, 2023
1 parent 7010c8e commit a61a68b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ def CallbackCalculationCost(self, msg):
if len(self.y_vec[f_idx]) > 100:
self.y_vec[f_idx].popleft()

print(len(self.y_vec[f_idx]))

x_vec = list(range(len(self.y_vec[f_idx])))

valid_x_vec = []
Expand All @@ -81,8 +79,6 @@ def CallbackCalculationCost(self, msg):
valid_x_vec.append(x_vec[i])
valid_y_vec.append(self.y_vec[f_idx][i])

print(len(valid_x_vec), len(valid_y_vec))

self.lines[f_idx].set_xdata(valid_x_vec)
self.lines[f_idx].set_ydata(valid_y_vec)

Expand Down

0 comments on commit a61a68b

Please sign in to comment.