问题
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.
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:
(source: pyqtgraph.org)
Any ideas?
Thanks
回答1:
A description of the problem and solution could be found here: pyqtgraph Google Group
The problem is caused by a faulty binary installation file from Christoph Gohlke's otherwise excellent binary download page (Link).
The solution is to instead use pip:
pip install PySide
回答2:
The issue is also found in the conda packge for PySide. See the discussion at https://github.com/conda-forge/pyside-feedstock/issues/15.
It can be fixed with pip and should also be fixed on the conda forge channel soon.
来源:https://stackoverflow.com/questions/25520108/pyqtgraph-with-pyside-producing-tiny-squashed-graphs-including-the-example-cod