Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d52987 + aea85f7 commit 2223a85Copy full SHA for 2223a85
1 file changed
examples/animation/strip_chart.py
@@ -37,7 +37,7 @@ def update(self, y):
37
t = self.tdata[0] + len(self.tdata) * self.dt
38
39
self.tdata.append(t)
40
- self.ydata.append(y)
+ self.ydata.append(float(y))
41
self.line.set_data(self.tdata, self.ydata)
42
return self.line,
43
0 commit comments