I brought the following code back because it writes output into the output file which is used to draw the graph.
<<<<<<< python-gui
print("irk[0]=" + str(irk[0]))
print("irk[1]=" + str(irk[1]))
print("irk[2]=" + str(irk[2]))
print("irk[3]=" + str(irk[3]))
print("irk[4]=" + str(irk[4]))
print("irk[5]=" + str(irk[5]))
print("irk[6]=" + str(irk[6]))
print("irk[7]=" + str(irk[7]))
1.fix graph not drawn correctly