iteractive mode matplotlib code example Example: interative mode matplotlib import matplotlib.pyplot as plt plt.ion() plt.plot([1.6, 2.7])