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
Backport PR #24774: DOC: fix strip_chart example with numpy 1.24
  • Loading branch information
ksunden authored and meeseeksmachine committed Dec 19, 2022
commit 4a3f05ae265d28320d540841635ad647312f0fa1
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