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.
我不确定为什么mplwidget内的画布在所有边都有一些边距,即使布局边距设置为 0。
在 Qt 设计器中:
运行:
在 Matplotlib for Python Developers 电子书的这个示例章节中可以看到同样的问题(参见第 38 页)。
我一直在尝试不同的例子,我注意到这个问题在更简单的布局中不存在: