from matplotlib import pyplot as PLT
with open('name_of_your_file.csv') as f:
    v = NP.loadtxt(f, delimiter=',', dtype='float', comments='#', skiprows=
        1, usecols=None)
Гистограмма в Matplotlib с входным файлом