Closed andrewRowlinson closed 1 year ago
Matplotlib 3.6 changed the argument transOffset to offset_transform: https://github.com/matplotlib/matplotlib/pull/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: https://github.com/andrewRowlinson/mplsoccer/blob/99976cb28c784e83a7e64ab03c41d39f0d55c5bb/mplsoccer/scatterutils.py#L277-L282
Matplotlib 3.6 changed the argument transOffset to offset_transform: https://github.com/matplotlib/matplotlib/pull/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: https://github.com/andrewRowlinson/mplsoccer/blob/99976cb28c784e83a7e64ab03c41d39f0d55c5bb/mplsoccer/scatterutils.py#L277-L282