8000 Merge pull request #24776 from meeseeksmachine/auto-backport-of-pr-24… · matplotlib/matplotlib@3ae2b3b · GitHub
[go: up one dir, main page]

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 3ae2b3b

Browse files
authored
Merge pull request #24776 from meeseeksmachine/auto-backport-of-pr-24774-on-v3.6.2-doc
Backport PR #24774 on branch v3.6.2-doc (DOC: fix strip_chart example with numpy 1.24)
2 parents c2d0507 + 4a3f05a commit 3ae2b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/animation/strip_chart.py

Lines 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