<|file_name|>plot_error.py<|end_file_name|><｜fim▁begin｜>from matplotlib import pyplot as plt

path = "C:/Temp/mnisterrors/chunk" + str(input("chunk: ")) + ".txt"
<｜fim▁hole｜>plt.plot(errorhistory)
plt.show()<｜fim▁end｜>

with open(path, "r") as f:
	errorhistory = [float(line.rstrip('\n')) for line in f]

