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 显示一些实时信号。特别是我使用 app.Canvas 来创建和更新显示。
有没有办法在创建画布时指定几何信息?理想情况下,我想为新窗口指定大小、坐标和监视器。但是指定监视器是最重要的部分。
您可以通过执行以下操作指定画布大小和位置:
from vispy import app pos_x, pos_y, width, height = 200, 200, 200, 200 #example canvas = app.Canvas(size=(width, height), position=(pos_x, pos_y)) canvas.show() app.run()
您是否尝试通过调整位置来指定显示器?