im trying to make a program that plots points, shows the plt, and pauses for 0.1 sec. Now everytime i run the program the plt.pause(0.1) function seems to be additive. Anyone have a clue how to fix that? I timed it using the code below but you can feel the time-gaps between runs get longer.
start = time.process_time()
plt.show(block=False)
print("2: ", time.process_time() - start)
start = time.process_time()
plt.pause(0.1)
print("3: ", time.process_time() - start)
Output in terminal (First time it run and last time before closing it)
2: 0.0
3: 1.328125
2: 0.0
3: 4.703125