Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e046b10

Browse filesBrowse files
authored
Merge pull request #24774 from tacaswell/fix/doc_build
DOC: fix strip_chart example with numpy 1.24
2 parents ecf6e26 + dceb9eb commit e046b10
Copy full SHA for e046b10

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/animation/strip_chart.py

Copy file name to clipboardExpand all lines: examples/animation/strip_chart.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def update(self, y):
3737
t = self.tdata[0] + len(self.tdata) * self.dt
3838

3939
self.tdata.append(t)
40-
self.ydata.append(y)
40+
self.ydata.append(float(y))
4141
self.line.set_data(self.tdata, self.ydata)
4242
return self.line,
4343

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.