Ejemplo n.º 1
0
def plot_points_per_prediction_normalized(input, title):
    resolution, amplitude = map_data(input)
    save_bar_plot(resolution,
                  amplitude,
                  "points_per_prediction",
                  title,
                  x_name="prediction",
                  y_name="amount of points/amount of predictions")
Ejemplo n.º 2
0
def plot_points_per_prediction_agglomerated_normalized(input):
    resolution, amplitude = map_data(input)
    save_bar_plot(resolution,
                  amplitude,
                  "points_per_prediction",
                  "normalized_all",
                  x_name="prediction",
                  y_name="amount of points/amount of predictions")
Ejemplo n.º 3
0
def plot_amount_of_predictions_agglomerated(input):
    resolution, amplitude = map_data(input)
    y_ticks = get_y_ticks(amplitude, max_offset=10, y_zero=True, step_size=20)
    save_bar_plot(resolution, amplitude, "points_per_prediction", "amount_all",
                  y_ticks, "prediction", "amount of predictions")
Ejemplo n.º 4
0
def plot_amount_of_predictions(input, title):
    resolution, amplitude = map_data(input)
    y_ticks = get_y_ticks(amplitude, max_offset=4, y_zero=True, step_size=5)
    save_bar_plot(resolution, amplitude, "points_per_prediction", title,
                  y_ticks, "prediction", "amount of predictions")
Ejemplo n.º 5
0
def plot_missed_games(input):
    resolution, amplitude = map_data(input)
    y_ticks = get_y_ticks(amplitude, max_offset=1, y_zero=0)
    save_bar_plot(resolution, amplitude, "other", "missed_games", y_ticks,
                  "player", "amount of games")
Ejemplo n.º 6
0
def plot_close_calls(input):
    resolution, amplitude = map_data(input)
    y_ticks = get_y_ticks(amplitude, max_offset=1, y_zero=0)
    save_bar_plot(resolution, amplitude, "other", "close_calls", y_ticks,
                  "player", "amount of games",
                  min(amplitude) - 5, max(amplitude))
Ejemplo n.º 7
0
def plot_all_scores_per_team(input):
    resolution, amplitude = map_data(input)
    y_ticks = get_y_ticks(amplitude, max_offset=1)
    save_bar_plot(resolution, amplitude, "scores_per_team", "all_teams",
                  y_ticks)