PyQtGraph with PySide producing tiny, squashed gra

2019-09-06 15:12发布

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:

Here

Rather than what I am supposed to get: Here http://www.pyqtgraph.org/images/plotting.png

Any ideas?

Thanks

2条回答
闹够了就滚
2楼-- · 2019-09-06 15:34

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.

查看更多
一纸荒年 Trace。
3楼-- · 2019-09-06 15:46

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

查看更多
登录 后发表回答