I have some previous code which will print out
'The number for january is x' - etc, throughout one year.
I'm trying to plot the x vs the months using this:
import matplotlib.pyplot as plt
for m, n in result.items():
print 'The number for', m, "is", n
plt.plot([n])
plt.ylabel('Number')
plt.xlabel('Time (Months)')
plt.title('Number per month')
plt.show()
Where m is the month (also the file name it reads from and n is the x value (number).
However when I run this I just get a blank graph - I think I may be missing somethhing major out?
Result contains:
{'apr': 13, 'jun': 13, 'jul': 13, 'aug': 13, 'sep': 13, 'oct': 13} x 6 times
For practical purposes I made each file have a number of 13 as the real files are enormous

resultcontains?ValueError: could not convert string to float: practice aprresultprints{'apr': 13, 'jun': 13, 'jul': 13, 'aug': 13, 'sep': 13, 'oct': 13}x 6 times - For practical purposes I made each file have a number of 13 as the real files are enormoustime(months)as the x-axis andnumberas your y-axis? But if you do so, you will just get a straight line wouldn't you, as all the values for number are13