问题描述
我正在使用 PySide 1.2.2 和 PyQtGraph 0.9.8 运行 Python 3.3.
I am running Python 3.3 with PySide 1.2.2 and PyQtGraph 0.9.8.
我遇到的问题是,我尝试生成的每个图表都返回明显不正确的结果.
The problem I am having is that every graph I try and produce returns an obviously incorrect result.
这是我运行与 PyQtGraph 一起打包的基本绘图示例时得到的图形:
This is the graph I get when I run the basic plotting example that is packaged with PyQtGraph:
而不是我应该得到的:
Rather than what I am supposed to get:
有什么想法吗?
谢谢
推荐答案
可以在此处找到问题和解决方案的描述:pyqtgraph Google Group
A description of the problem and solution could be found here: pyqtgraph Google Group
该问题是由 Christoph Gohlke 其他出色的二进制下载页面 (链接).
The problem is caused by a faulty binary installation file from Christoph Gohlke's otherwise excellent binary download page (Link).
解决方案是改用 pip:
The solution is to instead use pip:
pip 安装 PySide
这篇关于带有 PySide 的 PyQtGraph 生成微小的压缩图(包括示例代码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!