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")
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")
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))
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")
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)