def showEvent(self, event):
        if self.firstShow:
            self.firstShow = False
            self.graphicsView.scene().fitToView(self.graphicsView, True)
        return QtGui.QWidget.showEvent(self, event)        
        # super(QPIPGraphicsView, self).showEvent(event)
showEvent(event: QShowEvent) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/graphics_view.py/QPIPGraphicsView.showEvent