Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
DOC: fix strip_chart example with numpy 1.24
  • Loading branch information
tacaswell committed Dec 19, 2022
commit dceb9eb1b42040d574acd69b7b72f6f42fd213f9
2 changes: 1 addition & 1 deletion examples/animation/strip_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def update(self, y):
t = self.tdata[0] + len(self.tdata) * self.dt

self.tdata.append(t)
self.ydata.append(y)
self.ydata.append(float(y))
self.line.set_data(self.tdata, self.ydata)
return self.line,

Expand Down