I am making a tool in maya using pyside. I was able to add an image to my UI using QPixmap and adding it to QLabel. I am trying to figure out how to get the image to change with a press of a button (by pointing into to a new image path) but i am having trouble figuring out how to get it to change.
self.pix = QtGui.QPixmap(image_path)
self.lbl = QtWidgets.QLabel()
self.lbl.setPixmap(self.pix)
pic_layout.addWidget(self.lbl)