Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

"Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitchhiker's Guide to the Galaxy"


comp / comp.lang.python / Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)

SubjectAuthor
* Old matplotlib animation now failsMartin Schöön
+* Re: Old matplotlib animation now failsStefan Ram
|`* Re: Old matplotlib animation now failsMartin Schöön
| +* Re: Old matplotlib animation now failsStefan Ram
| |`- Re: Old matplotlib animation now failsMartin Schöön
| `* Re: Old matplotlib animation now failsrbowman
|  +* Re: Old matplotlib animation now failsChris Townley
|  |`* Re: Old matplotlib animation now failsrbowman
|  | `- Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)Lawrence D'Oliveiro
|  +- Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)Lawrence D'Oliveiro
|  `- Re: Old matplotlib animation now failsStefan Ram
+- Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)Lawrence D'Oliveiro
`* Re: Old matplotlib animation now failsMRAB
 `- Re: Old matplotlib animation now failsMartin Schöön

1
Subject: Old matplotlib animation now fails
From: Martin Schöön
Newsgroups: comp.lang.python
Organization: @ Home
Date: Tue, 15 Oct 2024 20:16 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: martin.schoon@gmail.com (Martin Schöön)
Newsgroups: comp.lang.python
Subject: Old matplotlib animation now fails
Date: 15 Oct 2024 20:16:41 GMT
Organization: @ Home
Lines: 32
Message-ID: <ln80t9Fj0i0U1@mid.individual.net>
X-Trace: individual.net vB4++Zg3NwBwp3hpUF+m7gLzFPyFH3U01iVo1HWLBHCuv9aJpV
Cancel-Lock: sha1:IQ/uYNYYuku8bLeg05syxYaWYfc= sha256:fR7dtG+aqWBEMTkGZjQGmD+shXn3p08PwAjb8HMH9Gk=
User-Agent: slrn/1.0.3 (Linux)
View all headers

Some years ago I created a Python program that reads GPS data and
creates an animation stored in an mp4 file. Not very elegant but it
worked. Not very original as it was based on the example found here:

https://shorturl.at/dTCZZ

Last time it worked was about a year ago. Since then I have moved to a
later version of Debian and Conda and as a consequence a later version
of Python 3 (now 3.12.2).

Now my code fails. I have downloaded the latest version of the example
and it also fails.

It is the second to last line that throws an error:

l.set_data(x0, y0)

The error messages drills down to something called
"/home/.../matplotlib/lines.py", line 1289, in set_xdata

and tells me 'x must be a sequence'

I have started to dig around in matplotlib's documentation but my
strategy is clearly wanting. I don't really know where to start
looking for information on how to correct my code. Hence, this
call for help.

Any ideas?

TIA

/Martin

Subject: Re: Old matplotlib animation now fails
From: Stefan Ram
Newsgroups: comp.lang.python
Organization: Stefan Ram
Date: Tue, 15 Oct 2024 20:29 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 15 Oct 2024 20:29:32 GMT
Organization: Stefan Ram
Lines: 11
Expires: 1 Jul 2025 11:59:58 GMT
Message-ID: <set_data-20241015212825@ram.dialup.fu-berlin.de>
References: <ln80t9Fj0i0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de /EBPcNK0BpanCD/MmT+pbwYJOVge763z8vA0W1DoBdxN9t
Cancel-Lock: sha1:BvjQacKV3DB/mYJxLoYNahYsunM= sha256:fUnipinUsccLTSmSwbT7hg07Tkk+3AmMdvWnX+6ZTzQ=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or quoted:
>l.set_data(x0, y0)

Well, I got to say, it's pretty rad that you're rocking Python!
That language is the bee's knees, for real.

As for your question, here's my two cents off the cuff:
Could it be that the newer Matplotlib versions are jonesing
for something like "l.set_data( [ x0 ],[ y0 ])" in that spot?

Subject: Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)
From: Lawrence D'Oliv
Newsgroups: comp.lang.python
Organization: A noiseless patient Spider
Date: Tue, 15 Oct 2024 22:48 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails (Posting On Python-List
Prohibited)
Date: Tue, 15 Oct 2024 22:48:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <vemrfe$1sd2k$9@dont-email.me>
References: <ln80t9Fj0i0U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 16 Oct 2024 00:48:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8e07f34fd508234a93a0d7f7570ee3ce";
logging-data="1979476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nGi39297t1D819F/TBAkf"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:FhX5MaybfJI3j4Pki0hFrzzDWhw=
View all headers

On 15 Oct 2024 20:16:41 GMT, Martin Schöön wrote:

> l.set_data(x0, y0)

Near as I can tell, “l” contains a Line2D object, so the applicable
set_data call is here:

<https://matplotlib.org/stable/api/_as_gen/matplotlib.lines.Line2D.html#matplotlib.lines.Line2D.set_data>

Subject: Re: Old matplotlib animation now fails
From: MRAB
Newsgroups: comp.lang.python
Date: Tue, 15 Oct 2024 23:38 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: python@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: Wed, 16 Oct 2024 00:38:01 +0100
Lines: 56
Message-ID: <mailman.25.1729035669.4695.python-list@python.org>
References: <ln80t9Fj0i0U1@mid.individual.net>
<2136e51b-c556-4bb3-bcb3-d7299ae80be5@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 0YAZL1TQM2gXj0ucw6lxAQDNeQtIn1S5wR31o0OWedAw==
Cancel-Lock: sha1:Rb4N2roT+mE74gxj+HtTQfjGWMQ= sha256:kCtKqutlDxnztaWPckm20QqhioM3ohc6prqiLoirR28=
Return-Path: <python@mrabarnett.plus.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=plus.com header.i=@plus.com header.b=Mynw+Gt1;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.003
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'error:': 0.05; 'arrays':
0.07; '"""': 0.09; 'debian': 0.09; 'example:': 0.09;
'from:addr:python': 0.09; 'moved': 0.09; 'received:192.168.1.64':
0.09; 'downloaded': 0.13; '--------': 0.16; 'arguments': 0.16;
'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16;
'help:': 0.16; 'message-id:@mrabarnett.plus.com': 0.16;
'received:84.93': 0.16; 'received:84.93.230': 0.16;
'received:plus.net': 0.16; 'subject:fails': 0.16;
'subject:matplotlib': 0.16; 'wrote:': 0.16; 'python': 0.16; 'api':
0.17; 'code.': 0.17; 'to:addr:python-list': 0.20; 'creates': 0.22;
'version': 0.23; 'code': 0.23; 'help.': 0.25; 'function': 0.27;
'error': 0.29; 'header:User-Agent:1': 0.30; 'module': 0.31;
'program': 0.31; 'python-list': 0.32; 'received:192.168.1': 0.32;
'but': 0.32; '----------': 0.33; 'header:In-Reply-To:1': 0.34;
'year': 0.36; 'really': 0.37; 'received:192.168': 0.37; 'two':
0.39; 'ago': 0.39; 'data.': 0.40; 'martin': 0.40; 'something':
0.40; 'should': 0.40; 'url-ip:104.26/16': 0.64; 'down': 0.64;
'ago.': 0.64; 'years': 0.65; 'worked': 0.67; 'gps': 0.76;
'strategy': 0.84; 'subject:Old': 0.84; 'hence,': 0.91; 'url-
ip:104.26.8/24': 0.93; 'url-ip:104.26.9/24': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1729035482; bh=obqUptoPG1Yvhpl0sX+H2drHIZXiyBtitOBsbDiGyXc=;
h=Date:Subject:To:References:From:In-Reply-To;
b=Mynw+Gt1DyPU6mN/wxsJ5U/xKTdEtjRhP7cBlJoKAgOTTh21N4hHyfniXHTFXqGcQ
6X92+mDSYWTxnE+iVsulSgKLPmTUKhRzc8XWugjXnUm6hObv4OdhOLGvSe+5WeEQAW
j4EprnrPkmYLupah2S0v7Yos3ce5uVxyXNrC1PIw2o0yR4pCqX4Lc7o8Cw79QvGnGc
0p6EWE0FGUv6YlQDMRvoSTVdRQFfobEFTlBLx7xCGtFrUKcCLxPF3i2tv8A5CcIy/8
yE+iFT78/yVoiRL0EwTXhEdG/f/g7pLukuTeQu661Q1z6h6cxPR0uRe5S+TLdXml7X
nRESaS5kIoAmQ==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=K5mBHDWI c=1 sm=1 tr=0 ts=670efcda
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=dzUMWQuHAAAA:20 a=bMfQmyvEybFBFpRIjV0A:9
a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=ZT_8zCgGubuJgGonBfBE:22
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <ln80t9Fj0i0U1@mid.individual.net>
X-CMAE-Envelope: MS4xfK/hh3s790s/QLS/ttswMOZdsVmBWj+cidCO7621II2C7UbOa+BsxiV29S5RarcQEHUFUTeoqDza2bf6oMN2oWKsTh2taHnNCM9kuQ+9GgXWNttY+VmS
zGpK+hJhmnm7jTilMsfFkMQyUL/wNx9s0TEfudonQfOf858TJiT/9K0RDNMC4ZhgwhTJlMuAqIwe0t7eXmI23nNB8mDcvsmLscg=
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <2136e51b-c556-4bb3-bcb3-d7299ae80be5@mrabarnett.plus.com>
X-Mailman-Original-References: <ln80t9Fj0i0U1@mid.individual.net>
View all headers

On 2024-10-15 21:16, Martin Schöön via Python-list wrote:
> Some years ago I created a Python program that reads GPS data and
> creates an animation stored in an mp4 file. Not very elegant but it
> worked. Not very original as it was based on the example found here:
>
> https://shorturl.at/dTCZZ
>
> Last time it worked was about a year ago. Since then I have moved to a
> later version of Debian and Conda and as a consequence a later version
> of Python 3 (now 3.12.2).
>
> Now my code fails. I have downloaded the latest version of the example
> and it also fails.
>
> It is the second to last line that throws an error:
>
> l.set_data(x0, y0)
>
> The error messages drills down to something called
> "/home/.../matplotlib/lines.py", line 1289, in set_xdata
>
> and tells me 'x must be a sequence'
>
> I have started to dig around in matplotlib's documentation but my
> strategy is clearly wanting. I don't really know where to start
> looking for information on how to correct my code. Hence, this
> call for help.
>
> Any ideas?
>
This is from the help:

"""
Help on function set_data in module matplotlib.lines:

set_data(self, *args)
Set the x and y data.

Parameters
----------
*args : (2, N) array or two 1D arrays

See Also
--------
set_xdata
set_ydata
"""

So, the arguments should be arrays:

For example:

x0, y0 = np.array([0.0]), np.array([0.0])

Has the API changed at some point?

Subject: Re: Old matplotlib animation now fails
From: Martin Schöön
Newsgroups: comp.lang.python
Organization: @ Home
Date: Wed, 16 Oct 2024 08:20 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: martin.schoon@gmail.com (Martin Schöön)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 16 Oct 2024 08:20:10 GMT
Organization: @ Home
Lines: 16
Message-ID: <ln9b9qFp0saU1@mid.individual.net>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
X-Trace: individual.net Umx1hAosAthwygCKd065mA5tJ+nSDQ9vuxLJQmaiCbfJKAPgfc
Cancel-Lock: sha1:SgyTA1AL1WjApr6q+x1vTDU66kU= sha256:jEmvhzsCKmsQMoURC9gURmKMOfO9i3FDn1d6dEkJ9to=
User-Agent: slrn/1.0.3 (Linux)
View all headers

Den 2024-10-15 skrev Stefan Ram <ram@zedat.fu-berlin.de>:
> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or quoted:
>>l.set_data(x0, y0)
>
> Well, I got to say, it's pretty rad that you're rocking Python!
> That language is the bee's knees, for real.
>
> As for your question, here's my two cents off the cuff:
> Could it be that the newer Matplotlib versions are jonesing
> for something like "l.set_data( [ x0 ],[ y0 ])" in that spot?
>
Thanks, that was quick and adding square brackets fixed my code.

Me rocking Python?

/Martin

Subject: Re: Old matplotlib animation now fails
From: Martin Schöön
Newsgroups: comp.lang.python
Organization: @ Home
Date: Wed, 16 Oct 2024 08:23 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: martin.schoon@gmail.com (Martin Schöön)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 16 Oct 2024 08:23:17 GMT
Organization: @ Home
Lines: 47
Message-ID: <ln9bflFp0saU2@mid.individual.net>
References: <ln80t9Fj0i0U1@mid.individual.net>
<2136e51b-c556-4bb3-bcb3-d7299ae80be5@mrabarnett.plus.com>
<mailman.25.1729035669.4695.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 0lJ+P/T2ONq/tQJwKcVStAHZNv0dFBINKNyuvKrJwATREJzcEJ
Cancel-Lock: sha1:hDoHuHh7NAfLtVD5uLDhOwEW3hE= sha256:oHaPvaPNcC8T9twWtc+kNsaAFlqoUNIQAItKV78Kfi0=
User-Agent: slrn/1.0.3 (Linux)
View all headers

Den 2024-10-15 skrev MRAB <python@mrabarnett.plus.com>:
> On 2024-10-15 21:16, Martin Schöön via Python-list wrote:
>> Some years ago I created a Python program that reads GPS data and

<snip>

>> It is the second to last line that throws an error:
>>
>> l.set_data(x0, y0)
>>
>> The error messages drills down to something called
>> "/home/.../matplotlib/lines.py", line 1289, in set_xdata
>>
>> and tells me 'x must be a sequence'
>>

<snip>

> """
> Help on function set_data in module matplotlib.lines:
>
> set_data(self, *args)
> Set the x and y data.
>
> Parameters
> ----------
> *args : (2, N) array or two 1D arrays
>
> See Also
> --------
> set_xdata
> set_ydata
> """
>
> So, the arguments should be arrays:
>
> For example:
>
> x0, y0 = np.array([0.0]), np.array([0.0])
>
> Has the API changed at some point?
>
So it seems.

Thanks for the quick reply.

/Martin

Subject: Re: Old matplotlib animation now fails
From: Stefan Ram
Newsgroups: comp.lang.python
Organization: Stefan Ram
Date: Wed, 16 Oct 2024 10:51 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 16 Oct 2024 10:51:18 GMT
Organization: Stefan Ram
Lines: 10
Expires: 1 Jul 2025 11:59:58 GMT
Message-ID: <rock-20241016115035@ram.dialup.fu-berlin.de>
References: <ln80t9Fj0i0U1@mid.individual.net> <set_data-20241015212825@ram.dialup.fu-berlin.de> <ln9b9qFp0saU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de xdtG59qWVAu1Rws2IfxRDALqUVCOGq5bITpN7yc2uKKufa
Cancel-Lock: sha1:K+MRHtoAhBifYu62sCc+ElobHN0= sha256:FpbbW2IpQARHSsqi183kN746ogGoWftDuZRXuaymN0s=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or quoted:
>Me rocking Python?

|to rock
|1. To use. To make do with, usually to great effect.
|"You don't need to make up the guest bed; we can rock the couch."
Urban Dictionary (2005) - Aaron Peckham (editor) (1979-04-03/),
Andrews McMeel Publishing, Kansas City

Subject: Re: Old matplotlib animation now fails
From: Martin Schöön
Newsgroups: comp.lang.python
Organization: @ Home
Date: Wed, 16 Oct 2024 15:52 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: martin.schoon@gmail.com (Martin Schöön)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 16 Oct 2024 15:52:55 GMT
Organization: @ Home
Lines: 17
Message-ID: <lna5qnFt12aU1@mid.individual.net>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net>
<rock-20241016115035@ram.dialup.fu-berlin.de>
X-Trace: individual.net ymzyrNaKaUHTvLROPjcCSgCoq5LmN6F1ZGQ3L5/wt58bZxWmgO
Cancel-Lock: sha1:8QNFTDOQ41ylVrKkOH/SHe1UwEg= sha256:MSiZHGcdTkjLOGfewUMZOUuiHkAYrncfqHXoWpGTmpg=
User-Agent: slrn/1.0.3 (Linux)
View all headers

Den 2024-10-16 skrev Stefan Ram <ram@zedat.fu-berlin.de>:
> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or quoted:
>>Me rocking Python?
>
>|to rock
>|1. To use. To make do with, usually to great effect.
>|"You don't need to make up the guest bed; we can rock the couch."
> Urban Dictionary (2005) - Aaron Peckham (editor) (1979-04-03/),
> Andrews McMeel Publishing, Kansas City
>
That is a use and meaning of rock I was not aware of.

An example of what I use this Python code for (track top right):
https://shorturl.at/m3ZKp
(Youtube's compression algorithm clearly did not like this video.)

/Martin

Subject: Re: Old matplotlib animation now fails
From: rbowman
Newsgroups: comp.lang.python
Date: Wed, 16 Oct 2024 21:47 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 16 Oct 2024 21:47:08 GMT
Lines: 23
Message-ID: <lnaqirF1kmpU2@mid.individual.net>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net pbTdXkE6gJEWHzfmlVvkTwTGxp2aHHB/oxFtPJ/Sy2rEIdpzFR
Cancel-Lock: sha1:KX+YvZnPWnYY3VT+i1e/Y8KWtoQ= sha256:MhVIwFx0S7nI4OAY5Dxr7aPooy3DpfXOgsmgSt9e7CQ=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On 16 Oct 2024 08:20:10 GMT, Martin Schöön wrote:

> Den 2024-10-15 skrev Stefan Ram <ram@zedat.fu-berlin.de>:
>> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or
>> quoted:
>>>l.set_data(x0, y0)
>>
>> Well, I got to say, it's pretty rad that you're rocking Python!
>> That language is the bee's knees, for real.
>>
>> As for your question, here's my two cents off the cuff:
>> Could it be that the newer Matplotlib versions are jonesing for
>> something like "l.set_data( [ x0 ],[ y0 ])" in that spot?
>>
> Thanks, that was quick and adding square brackets fixed my code.
>
> Me rocking Python?
>
> /Martin

You have to understand Stefan tries to use American slang, not always
entirely accurately. I think 'bee's knees' died out around 1931.

Subject: Re: Old matplotlib animation now fails
From: Chris Townley
Newsgroups: comp.lang.python
Organization: A noiseless patient Spider
Date: Wed, 16 Oct 2024 22:30 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: news@cct-net.co.uk (Chris Townley)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: Wed, 16 Oct 2024 23:30:42 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <vepeqi$274a1$2@dont-email.me>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net> <lnaqirF1kmpU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Oct 2024 00:30:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="59224b44eede2871f83ab581fd554fbb";
logging-data="2330945"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+B+NwRHPgMMspxIxjSbbB3fBlAlQqbbcU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:u9aOECt6m7I5udH6arcpKuDs5Vs=
In-Reply-To: <lnaqirF1kmpU2@mid.individual.net>
Content-Language: en-GB
View all headers

On 16/10/2024 22:47, rbowman wrote:
> On 16 Oct 2024 08:20:10 GMT, Martin Schöön wrote:
>
>> Den 2024-10-15 skrev Stefan Ram <ram@zedat.fu-berlin.de>:
>>> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> wrote or
>>> quoted:
>>>> l.set_data(x0, y0)
>>>
>>> Well, I got to say, it's pretty rad that you're rocking Python!
>>> That language is the bee's knees, for real.
>>>
>>> As for your question, here's my two cents off the cuff:
>>> Could it be that the newer Matplotlib versions are jonesing for
>>> something like "l.set_data( [ x0 ],[ y0 ])" in that spot?
>>>
>> Thanks, that was quick and adding square brackets fixed my code.
>>
>> Me rocking Python?
>>
>> /Martin
>
> You have to understand Stefan tries to use American slang, not always
> entirely accurately. I think 'bee's knees' died out around 1931.
>

Not sure about America, but the bee's knees is still in common use in the UK

--
Chris

Subject: Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)
From: Lawrence D'Oliv
Newsgroups: comp.lang.python
Organization: A noiseless patient Spider
Date: Wed, 16 Oct 2024 22:48 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails (Posting On Python-List
Prohibited)
Date: Wed, 16 Oct 2024 22:48:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vepfsr$2e4fp$8@dont-email.me>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net> <lnaqirF1kmpU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Oct 2024 00:49:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9416ba48f1adcfe2127401957dfa62bf";
logging-data="2560505"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MeRQ6P4sTdNXm6VTF3ULK"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:4EW4MB5AKU4i9V9T5ttPMSHrMjg=
View all headers

On 16 Oct 2024 21:47:08 GMT, rbowman wrote:

> I think 'bee's knees' died out around 1931.

Cat’s meow. Dog’s bollocks.

Speaking of the cat’s meow, did William Randolph Hearst really intend to
kill Charlie Chaplin?

<https://www.imdb.com/title/tt0266391/>

Subject: Re: Old matplotlib animation now fails
From: rbowman
Newsgroups: comp.lang.python
Date: Thu, 17 Oct 2024 03:19 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 17 Oct 2024 03:19:17 GMT
Lines: 9
Message-ID: <lnbe1lF45jfU5@mid.individual.net>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net> <lnaqirF1kmpU2@mid.individual.net>
<vepeqi$274a1$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ROHCTVCqrajvuNFGjCxesgm1FA/Owsm8oM+1BN94OfZs5db6as
Cancel-Lock: sha1:QcHGSXj5EH7ltJT2WQaZxpsU7OQ= sha256:tTFDyM0ZNLzLWNENiW9j3i25a2comRULuiqoFKyY+bY=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Wed, 16 Oct 2024 23:30:42 +0100, Chris Townley wrote:

> Not sure about America, but the bee's knees is still in common use in
> the UK

https://en.wikipedia.org/wiki/Bee's_knees

That version? A local bakery makes a honey flavored pastry they call
'bee's knees' but using it in a conversation would be campy.

Subject: Re: Old matplotlib animation now fails (Posting On Python-List Prohibited)
From: Lawrence D'Oliv
Newsgroups: comp.lang.python
Organization: A noiseless patient Spider
Date: Thu, 17 Oct 2024 05:48 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails (Posting On Python-List
Prohibited)
Date: Thu, 17 Oct 2024 05:48:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <veq8fp$2l6fb$2@dont-email.me>
References: <ln80t9Fj0i0U1@mid.individual.net>
<set_data-20241015212825@ram.dialup.fu-berlin.de>
<ln9b9qFp0saU1@mid.individual.net> <lnaqirF1kmpU2@mid.individual.net>
<vepeqi$274a1$2@dont-email.me> <lnbe1lF45jfU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Oct 2024 07:48:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9416ba48f1adcfe2127401957dfa62bf";
logging-data="2791915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BXtrUxDfchH0giTC5PXC7"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:XbPh0JbxbSnidsIq0x+kWoINLyI=
View all headers

On 17 Oct 2024 03:19:17 GMT, rbowman wrote:

> A local bakery makes a honey flavored pastry they call
> 'bee's knees' but using it in a conversation would be campy.

What words zey choose to use eez nahn of your bee’s knees.

Subject: Re: Old matplotlib animation now fails
From: Stefan Ram
Newsgroups: comp.lang.python
Organization: Stefan Ram
Date: Thu, 17 Oct 2024 13:50 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Old matplotlib animation now fails
Date: 17 Oct 2024 13:50:13 GMT
Organization: Stefan Ram
Lines: 14
Expires: 1 Jul 2025 11:59:58 GMT
Message-ID: <slang-20241017144845@ram.dialup.fu-berlin.de>
References: <ln80t9Fj0i0U1@mid.individual.net> <set_data-20241015212825@ram.dialup.fu-berlin.de> <ln9b9qFp0saU1@mid.individual.net> <lnaqirF1kmpU2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de lxYb+qbr+jy8jSSAkOYujAJZiQxlQ79TnDcF/I9ED/F1ct
Cancel-Lock: sha1:czPAu303MrtJ6yyZuVQDtZWuZto= sha256:NkF+AiywkrnhWOeQ/+K90O2awMcagZNHygVVm2AEHGg=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

rbowman <bowman@montana.com> wrote or quoted:
>You have to understand Stefan tries to use American slang, not always
>entirely accurately. I think 'bee's knees' died out around 1931.

There's some wild connections between Python and slang.
In the streets, folks might drop a "That's bonkers as f!",
and wouldn't ya know it, Python's rockin' the same vibe:

with open( "data", "rb" )as f:

. I'd wager that when you open a file "as f", it's probably packing
more of a punch or running like a cheetah on Red Bull or something!

1

rocksolid light 0.9.8
clearnet tor