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.
1 parent 7d52987 commit aea85f7Copy full SHA for aea85f7
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