Closed yhidaka closed 2 years ago
I can confirm the issue pip freeze: alabaster==0.7.12 argos==0.3.1 arrow==1.2.0 Babel==2.9.1 backcall==0.2.0 Cartopy==0.20.1 Cerberus==1.3.4 certifi==2021.10.8 cftime==1.5.1 charset-normalizer==2.0.6 click==8.0.3 cmlib==1.1.1 coriolis==0.0.1 cycler==0.10.0 Cython==0.29.24 debugpy==1.5.0 decorator==5.1.0 docrep==0.3.2 docutils==0.17.1 entrypoints==0.3 fasteners==0.16.3 funcargparse==0.2.5 idna==3.2 imagesize==1.2.0 install==1.3.4 ipykernel==6.4.1 ipython==7.28.0 ipython-genutils==0.2.0 jedi==0.18.0 Jinja2==3.0.2 jupyter-client==7.0.6 jupyter-core==4.8.1 kiwisolver==1.3.2 MarkupSafe==2.0.1 matplotlib==3.4.3 matplotlib-inline==0.1.3 nc-time-axis==1.3.1 ncagg==0.8.11 nest-asyncio==1.5.1 netCDF4==1.5.7 numpy==1.21.2 packaging==21.0 pandas==1.3.3 parso==0.8.2 pexpect==4.8.0 pgcolorbar==1.1.1 pickleshare==0.7.5 Pillow==8.3.2 proj==0.2.0 prompt-toolkit==3.0.20 psy-maps==1.4.0 psy-simple==1.4.0 psy-view==0.2.0 psyplot==1.4.0 psyplot-gui==1.4.0 ptyprocess==0.7.0 Pygments==2.10.0 pykdtree==1.3.4 pyparsing==2.4.7 pyproj==3.2.1 PyQt5==5.15.4 PyQt5-Qt5==5.15.2 PyQt5-sip==12.9.0 pyqtgraph==0.12.3 pyshp==2.1.3 python-dateutil==2.8.2 pytz==2021.3 PyYAML==6.0b1 pyzmq==22.3.0 qtconsole==5.1.1 QtPy==1.11.2 requests==2.26.0 scipy==1.7.1 Shapely==1.7.1 six==1.16.0 snowballstemmer==2.1.0 Sphinx==4.2.0 sphinx-rtd-theme==1.0.0 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 tornado==6.1 traitlets==5.1.0 urllib3==1.26.7 wcwidth==0.2.5 xarray==0.19.0
Same issue.
Package Version
argos 0.3.1 cftime 1.5.1 cmlib 1.1.1 cycler 0.10.0 entrypoints 0.3 h5py 3.4.0 kiwisolver 1.3.2 matplotlib 3.4.3 netCDF4 1.5.7 numpy 1.20.3 pandas 1.3.4 pathlib 1.0.1 pgcolorbar 1.1.1 Pillow 8.4.0 pip 21.3 pyobjc-core 7.3 pyobjc-framework-Cocoa 7.3 pyparsing 2.4.7 PyQt5 5.15.5 PyQt5-Qt5 5.15.2 PyQt5-sip 12.9.0 pyqtgraph 0.12.3 pysasupport 1.0.0 python-dateutil 2.8.2 pytz 2021.3 QtPy 1.11.2 scipy 1.7.1 seaborn 0.11.2 setuptools 56.0.0 six 1.16.0 xarray 0.18.2
I just created a pull request.
I'm new to pull requests, so please let me know if I made a mistake.
The same issue can be found using the "Image Plot", I solve with a similar approach described on the pull #21.
Should I open a specific bug? Or maybe this bug should be about generic QtCore missing imports around the project?
Apologies for the late reply all. And thanks for the pull request @yhidaka but I fixed it myself. It should also be fixed or the Image plot.
I made a new release (version 0.4.0), please let me know if there are any issues.
I was getting this warning message when I try to plot a line for a 1-D vector or 2-D matrix:
Even though the message was warning, line plotting functionality was not working.
This error disappeared and I was able to plot lines after modifying the file "argos/inspector/pgplugins/pghistlutitem.py" by adding the following line at the top:
from pyqtgraph.Qt import QtCore
Could anybody apply this simple bug fix and push the new version to
conda-forge
?Thank you very much for this nice tool! I've been looking for a good alternative to
hdfview
for a very long time.p.s. By the way, importing
QtCore
fromargos.qt
failed with the error messagemodule 'PyQt5.QtCore' has no attribute 'Signal'
.p.p.s The conda environment I tested was created as follows:
$ conda create -p argos_test argos pyqt h5py -c conda-forge
And the following is the output of
$ conda list
: