Matplotlib 3.6 changed the argument transOffset to offset_transform:
matplotlib/matplotlib#21965
With the current code the following error occurs when creating the docs:
TypeError: HandlerFootball.create_collection() got an unexpected keyword argument 'offset_transform'.
This code needs to be changed for compatibility with Matplotlib 3.6:
|
return type(orig_handle)([football_hexagon_marker, football_pentagon_marker], |
|
sizes=sizes, |
|
offsets=offsets, |
|
transOffset=transOffset, |
|
facecolors=[facecolor, edgecolor], |
|
edgecolors=edgecolor) |
Matplotlib 3.6 changed the argument transOffset to offset_transform:
matplotlib/matplotlib#21965
With the current code the following error occurs when creating the docs:
TypeError: HandlerFootball.create_collection() got an unexpected keyword argument 'offset_transform'.
This code needs to be changed for compatibility with Matplotlib 3.6:
mplsoccer/mplsoccer/scatterutils.py
Lines 277 to 282 in 99976cb