Added plt.show() at the end of every code snippet to enable sticky plot windows