Problem with Matplotlib example

MRAB python at mrabarnett.plus.com
Thu Apr 13 15:34:23 EDT 2023


On 2023-04-13 19:41, Martin Schöön wrote:
> Anyone had success running this example?
> https://tinyurl.com/yhhyc9r
> 
> When I try I get this error:
> "TypeError: __init__() got an unexpected keyword argument 'transform'"
> 
> This is for the line
> "    m = MarkerStyle(SUCESS_SYMBOLS[mood], transform=t)"
> 
> Yes, I know, I could dive into the documentation myself but I hope
> some kind soul here will help out.
> 
> As far as I know I have an up-to-date matplotlib installed. Pip has
> nothing more modern to offer me.
> 
All I can say is that it works for me!

Python 3.10 and 3.11, matplotlib 3.6.1 and then 3.7.1 after updating it.



More information about the Python-list mailing list