## visualize benchmarks

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
sns.set_style("whitegrid")

palette="Set3"
cnames = ["percent_train","micro_F","macro_F","setting","dataset","time"]


def plot_core_macro(fname):

    """
    A very simple visualization of the results..
    """

    print(fname.head())
    fname = fname.groupby(["percent_train"]).mean()
    p1 = plt.plot(fname['macro_F'])
    plt.show()
    return 1
