From 4a3f05ae265d28320d540841635ad647312f0fa1 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Mon, 19 Dec 2022 12:53:55 -0600 Subject: [PATCH] Backport PR #24774: DOC: fix strip_chart example with numpy 1.24 --- examples/animation/strip_chart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/animation/strip_chart.py b/examples/animation/strip_chart.py index f06413c28661..9fab4aa66f12 100644 --- a/examples/animation/strip_chart.py +++ b/examples/animation/strip_chart.py @@ -37,7 +37,7 @@ def update(self, y): t = self.tdata[0] + len(self.tdata) * self.dt self.tdata.append(t) - self.ydata.append(y) + self.ydata.append(float(y)) self.line.set_data(self.tdata, self.ydata) return self.line, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy