def METHOD_NAME(perfData, fname):
    # Set bins to a tenth of the episodes, rounded up.
    binIdx = np.array(range(len(perfData))) // 10
    bins = np.bincount(binIdx, perfData).astype("uint32")
    # Plotting time!
    plt.figure()
    plt.bar(np.unique(binIdx), bins, color="seagreen")
    plt.xlabel("Episode Bins")
    plt.ylabel("Number of Intercepts")
    plt.title("Interception Performance Across Episodes")
    plt.savefig(fname[0:-4] + ".png", dpi=200)
    plt.pause(0.001)  # Pause so that that GUI can do its thing.