'How do I delete the image on the label? (PyQt5)

I want to be able to delete the image set as setPixmap on the label.

But I could only find how to set the image on the label.

Can I initialize the label?

And, I have to display the picture on the label and remove it.

Is there a function in PyQt5 that I want?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source