def plot_positivity_persons(date, dico_score, score_moyen):
    list_score = list()
    list_names = list()
    for (name, score) in dico_score.items():
        list_score.append(score)
        list_names.append(name)
    plt.bar(list_names, list_score, color='r')
    plt.grid()
    plt.xticks(rotation=90)
    plt.text((- 1), 0, date, horizontalalignment='left', verticalalignment='top', fontweight='bold')
    plt.hlines(y=score_moyen, xmin=(- 1), xmax=len(list_names))
    plt.ylabel('Score de positivité')
    plt.title('Score de positivité des principaux speakers')
    plt.tight_layout()
    plt.savefig(((((project_directory + 'image_score_posi/') + 'score_posi_') + str(date)) + '.png'))
    plt.close()
    return None
def plot_positivity_persons(date, dico_score, score_moyen):
    list_score = list()
    list_names = list()
    for (name, score) in dico_score.items():
        list_score.append(score)
        list_names.append(name)
    plt.bar(list_names, list_score, color='r')
    plt.grid()
    plt.xticks(rotation=90)
    plt.text((- 1), 0, date, horizontalalignment='left', verticalalignment='top', fontweight='bold')
    plt.hlines(y=score_moyen, xmin=(- 1), xmax=len(list_names))
    plt.ylabel('Score de positivité')
    plt.title('Score de positivité des principaux speakers')
    plt.tight_layout()
    plt.savefig(((((project_directory + 'image_score_posi/') + 'score_posi_') + str(date)) + '.png'))
    plt.close()
    return None