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 ecf6e26 + dceb9eb commit e046b10Copy full SHA for e046b10
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