andrewRowlinson / mplsoccer

Football pitch plotting library for matplotlib
MIT License
391 stars 80 forks source link

Added alt theme in plot_lines.py + plotting passes leading to a shot in plot_arrows.py + comparing different plots with the same cmap in plot_heatmap.py #94

Closed francescozonaro closed 5 months ago

francescozonaro commented 1 year ago

Added an example comparing different heatmaps sharing the same color scale, taking inspiration from #91 Added two examples regarding plotting passes: the first one is simply an alternative light theme, while the second also tries to give additional info: the time distance between the pass and the shot at the end of the build up.

andrewRowlinson commented 1 year ago

Thanks looks good! Please could you separate the new arrows example into a separate file in the tutorial directory. The heatmap example is great, but I think that pressures usually works better for illustration purposes. Is it possible to change that too?