import matplotlib.pyplot as plt from numpy import genfromtxt from sys import stdin data = genfromtxt(stdin.buffer) plt.plot(data) plt.show()