Customizing size of a PyQtGraph

Hi. How can i draw a graphics view with pyqtgraph without self.setCentralWidget(self.graphWidget). I don´t want the size of my graphic expand all the mainwindows. Just the size that i’ve had assigned in the Qt designer