missing axes, RMB zoom not updating, etc.

49 views
Skip to first unread message

Samuel Palato

unread,
Dec 14, 2017, 12:52:18 PM12/14/17
to pyqtgraph
Hi,

Since a recent reinstallation of pyqtgraph, a number of bugs have appeared on Plot items, namely:
- Axes don't show: no spines, no ticks, no ticklabels (see screen grab below).
- Zooming doesn't update the graphs. Moving by dragging the LMB causes the graph to update, moving correctly and updating for preceding zooms. This happens for zoom using RMB dragging or right-click menu -> view all. Mouse wheel never seems to work.
- Initial data update seems missing. Running the "Basic plotting" example shows all dark boxes. (see screen grab below) The data jumps into view immediately upon dragging with the LMB.

No error messages can be found on the command line. My project doesn't catch any exceptions either.

To reproduce:
Run examples from the command line:

python -m pyqtgraph.examples


Select "Basic plotting". (Note the updating plot is updating properly.)

Configuration (conda environnement)
pyqtgraph 0.10.0
PySide 1.2.4
python 2.7.13 64b
conda 4.3.30


pyqtgraph and PySide installed using pip. Tested with a clean conda env:
conda create --name pyqtgraph_test python=2.7
pip install pyside
pip install pyqtgraph


Any ideas on how to fix this issue?



Auto Generated Inline Image 1

Samuel Palato

unread,
Dec 14, 2017, 2:25:12 PM12/14/17
to pyqtgraph
Downgrading to PySide 1.2.2 apparently fixes this issue...

Luke Campagnola

unread,
Dec 20, 2017, 12:33:15 PM12/20/17
to pyqt...@googlegroups.com
Just tested with PySide 1.2.4 (installed via pip) and python 2.7; everything looks ok on my end. 
Can you paste the output of pg.systemInfo() from the environment that is not working?

On Thu, Dec 14, 2017 at 11:25 AM, Samuel Palato <samuel...@usherbrooke.ca> wrote:
Downgrading to PySide 1.2.2 apparently fixes this issue...

--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/93f6a485-1556-43dd-98d3-6930226cbc5e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Samuel Palato

unread,
Jan 8, 2018, 3:33:55 PM1/8/18
to pyqtgraph
Hi,

I can fix the problem with PySide 1.2.4 by reinstalling using `conda` and `conda-forge`. This seems to be dependent on the specific installation order.

pg.systemInfo() from the previously described environment:

>>> pg.systemInfo()
sys.platform: win32
sys.version: 2.7.14 |Anaconda, Inc.| (default, Nov  8 2017, 13:40:45) [MSC v.1500 64 bit (AMD64)]
qt bindings: PySide 1.2.4
pyqtgraph: 0.10.0; None
config:
{'antialias': False,
 'background': 'k',
 'crashWarning': False,
 'editorCommand': None,
 'enableExperimental': False,
 'exitCleanup': True,
 'foreground': 'd',
 'imageAxisOrder': 'col-major',
 'leftButtonPan': True,
 'useOpenGL': False,
 'useWeave': False,
 'weaveDebug': False}




On Wednesday, 20 December 2017 12:33:15 UTC-5, Luke Campagnola wrote:
Just tested with PySide 1.2.4 (installed via pip) and python 2.7; everything looks ok on my end. 
Can you paste the output of pg.systemInfo() from the environment that is not working?
On Thu, Dec 14, 2017 at 11:25 AM, Samuel Palato <samuel...@usherbrooke.ca> wrote:
Downgrading to PySide 1.2.2 apparently fixes this issue...

--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages