Sujet : Re: Old matplotlib animation now fails
De : news (at) *nospam* cct-net.co.uk (Chris Townley)
Groupes : comp.lang.pythonDate : 17. Oct 2024, 00:30:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vepeqi$274a1$2@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
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