
Hi, Kenneth,Thanks so much for your kind reply.My python version is Python 3.7.2, I installed it via via Homebrew.PyQt5 is installed for PyQtGraph. I just install the PyQtGraph by this command: pip install pyqtgraph. I also installed OpenGL for 3D display.Here, I will use a simple example to show the problem.code:from pyqtgraph.Qt import QtCore, QtGuiimport pyqtgraph.opengl as glimport numpy as npfrom math import *import timeapp = QtGui.QApplication([])w = gl.GLViewWidget()w.opts['distance'] = 200w.show()w.setWindowTitle('Quadcopter Simulation')## create three grids, add each to the viewxgrid = gl.GLGridItem()ygrid = gl.GLGridItem()zgrid = gl.GLGridItem()w.addItem(xgrid)w.addItem(ygrid)w.addItem(zgrid)## rotate x and y grids to face the correct directionxgrid.rotate(90, 0, 1, 0)ygrid.rotate(90, 1, 0, 0)xgrid.scale(1.0, 1.0, 1.0)ygrid.scale(1.0, 1.0, 1.0)zgrid.scale(1.0, 1.0, 1.0)md = gl.MeshData.sphere(rows=10, cols=10, radius=5)body = gl.GLMeshItem(meshdata=md, smooth=False, drawFaces=True, drawEdges=True, edgeColor=(1,0,0,0), color=(1,0,0,0) )w.addItem(body)x = np.zeros((12,))w.show()app.processEvents()time.sleep(0.01)QtGui.QApplication.instance().exec_()I just plot a sphere on a 3D figure. The output figure just occupy 1/4 of the whole window, as shown below.
Thanks for your help. Look forward to your kind reply.Best regards,Xiaoxue

If you're still having trouble, please post a new issue on the pyqtgraph GitHub.