Mplsoccer

Latest version: v1.2.4

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

1.1.10

----------------------

Fixes
* Fixed the StatsBomb lineup parsers so when the player_nickname is missing \
the parsers still work.

1.1.9

----------------------

Fixes
* Fixed positional pitch marking to remove extraneous lines when ``Pitch`` is created with
``positional=True``

1.1.8

----------------------

Fixes
* Fixed goal width dimensions for ``opta_dims`` definitions from (44.62,55.38) to (45.2,54.8)

1.1.7

----------------------

Fixes
* Fixed the ``PyPizza`` class so that ``linewidths`` of zero are allowed values. \
see: https://github.com/andrewRowlinson/mplsoccer/issues/71
* Fixed the ``HandlerFootball`` class so the football scatter method is compatible with \
Matplotlib 3.6 where transOffset was replaced with offset_transform. \
see: https://github.com/andrewRowlinson/mplsoccer/issues/72

Docs
* Added a wedges example to the tutorials as an alternative to comet lines.

1.1.6

----------------------------

Fixes
* Fixes the ``FontManager`` URLs so that they can be imported in JupyterLite.

Changes
* We now use hatch rather than setuptools for the mplsoccer build.

1.1.4

----------------------

Fixes
* Fixed the ``Pitch.bin_statistic`` method so that it returns consistent binnumber results for \
the different pitch types. Now the binnumber indexing starts in the top-left hand corner \
as index 0, 0. Previously it depended on whether the pitch had an inverted y-axes whether the \
indexing started at the top or bottom left corner. This change is consistent with how indexing \
on a numpy array works (0, 0) is the top-left corner so this enables the bin statistics \
to be reconstructed from the binnumber via numpy indexing.

Changes
* Bin numbers from ``Pitch.bin_statistic`` start in the top-left corner at index 0,0.
* Statistics from ``Pitch.bin_statistic``, now mirror the horizontal pitch layout, i.e. they match \
the output from ``Pitch.label_heatmap``. The y coordinate center and edges have been flipped \
for inverted y-axis to allow this change (previously the statistic was flipped instead).

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.