from matplotlib import pyplot #Make sure to include "block=True" instead of leaving parameter blank #Worked for me for some reason pyplot.ion() pyplot.show(block=True)