Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 VisPy 库,可以通过以下方式设置画布位置:
from vispy import app canvas = app.Canvas(position=(0,0)) #Left top position
有没有办法对 PyQtGraph 库做同样的事情?
import pyqtgraph as pg win = pg.GraphicsWindow() #position?
可以使用QWidget::move方法。在我的例子中:
win.move(pos_x, pos_y)
这篇文章提供了更多细节。