footix.vizu package

Submodules

footix.vizu.score_matrix module

footix.vizu.score_matrix.plot_goal_matrix(matrix, n_goals=5)[source]

Visualize the probability matrix of match scores.

Parameters:
  • matrix (ndarray) – 2D array of score probabilities.

  • n_goals (int) – Number of goals to show on each axis.

Returns:

The generated figure.

Return type:

matplotlib.figure.Figure

Module contents

footix.vizu.plot_goal_matrix(matrix, n_goals=5)[source]

Visualize the probability matrix of match scores.

Parameters:
  • matrix (ndarray) – 2D array of score probabilities.

  • n_goals (int) – Number of goals to show on each axis.

Returns:

The generated figure.

Return type:

matplotlib.figure.Figure