Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: transformation of pitch dimensions should update coordinate system
Fixes PySport#407: Transforming the pitch dimensions of a dataset with a coordinate system will now change the dataset's coordinate system to a `CustomCoordinateSystem` with the specified pitch dimensions. As a side effect, makes it easier to create a custom coordinate system: ``` from kloppy.domain import CustomCoordinateSystem my_coordinate_system = CustomCoordinateSystem( origin=..., vertical_orientation=..., pitch_dimensions=..., ) ```
- Loading branch information