def function(self):
    image_path = 'c:\\image_path.jpg'
self.show_frame_in_display(image_path)

def show_frame_in_display(self, image_path):
    frame = QtGui.QWidget()
label_Image = QtGui.QLabel(frame)
image_profile = QtGui.QImage(image_path)
image_profile = image_profile.scaled(250, 250, aspectRatioMode=QtCore.Qt.
    KeepAspectRatio, transformMode=QtCore.Qt.SmoothTransformation)
label_Image.setPixmap(QtGui.QPixmap.fromImage(image_profile))
showing an image with Graphics View widget