scroll backwards and forwards through matplotlib plots,plt.show()