Mplsoccer

Latest version: v1.4.0

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

Scan your dependencies

Page 5 of 8

0.0.22

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

Hot fix
Fixed statsbomb read_event to read the z location, as StatsBomb recently changed their data so it also records the shot impact height 'z' location.

0.0.21

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

Changed
1) changed the name of the 'statsperform' pitch_type to 'uefa'
2) changed the background zorder from 0.8 -> 0.6 so it defaults to below the new Juego de posición pitch markings
3) changed the center circle size for the opta, wyscout, statsbomb, and stats pitches to align with the edge of the six-yard box

Fixed
1) amended the fbref plotting example to work for all five of the leagues.
2) arrows can now take *args to allow colors to be set using C via a cmap.
3) fixed a bug for the metricasports pitch so the center circle and arcs plot when the pitch_width and pitch_length are the same size
4) fixed a bug for the Voronoi plot where the wyscout, opta, and metricasports data wasn't scaled appropriately to a full-sized pitch
5) fixed bin_statistic so the binning of data is always consistent from the bottom to the top of the pitch. Previously pitches with an inverted axis were binned top to bottom. This does not currently apply to bin_statistic_positional.

Added
1) added a method calculate_angles_and_distance to calculate the angle and distance from start and end locations.
2) added an example for plotting a pass network contributed by DymondFormation.
3) added parameters to shade the middle section of the pitch and draw Juego de posición pitch markings.
4) added a method flow to plot a pass flow map and a new example using this method

0.0.20

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

Fixed
1) Fixed arrows so the arrows scale correctly when the dots per inches (dpi) of the figure is changed. Before the units were in dots so the arrow got smaller as the dots per inches increases. Fixed this so the arrow is in points (1/72th of an inch) so the arrow stays the same size when the dots per inch changes.

0.0.19

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

Fixed
1) Fixed arrows legend to work in recent versions of matplotlib.

0.0.18

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

Changed
1) changed the event_type_name/ event_type_id columns in the StatsBomb data to sub_type_name, sub_type_id.

0.0.16

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

Changed
1) combined the StatsBomb technique columns (pass_technique, goalkeeper_technique, shot_technique) into techique_id and technique_name
2) combined the Statsbomb type columns (pass_type, duel_type_id, goalkeeper_type, shot_type) into event_type_name and event_type_id
3) removed StatsBomb columns that repeat other columns: pass_through_ball, pass_outswinging, pass_inswinging,
clearance_head, clearance_left_foot, clearance_right_foot, pass_straight, clearance_other, goalkeeper_punched_out,
goalkeeper_shot_saved_off_target, shot_saved_off_target, goalkeeper_shot_saved_to_post, shot_saved_to_post,
goalkeeper_lost_out, goalkeeper_lost_in_play, goalkeeper_success_out, goalkeeper_success_in_play, goalkeeper_saved_to_post,
shot_kick_off, goalkeeper_penalty_saved_to_post

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.