Код: Выделить всё
import matplotlib.pyplot as plt
year = [1500, 1600, 1700, 1800, 1900, 2000]
pop = [458, 580, 682, 1000, 1650, 6,127]
plt.plot(year, pop)
plt.show() # Here a window opens up and shows the figure for the first time
Код: Выделить всё
plt.show() # for the second time.. nothing happens
Это нормально или проблема?
Примечание: я использую REPL>