In Colab, calling show() multiple times in one cell won't display the pictures unless these two functions are called.