BoldingBruggeman / pyncview

PyNcView is a cross-platform NetCDF viewer written in Python. It provides an easy-to-use graphical user interface to the creation of animations and publication-quality figures.
GNU General Public License v2.0
18 stars 1 forks source link

Properties tab issue #6

Open tmshanahan opened 1 year ago

tmshanahan commented 1 year ago

Trying out pyncview I got the following error when using the "properties" tab:

Traceback (most recent call last): File "/opt/anaconda3/envs/pncview/lib/python3.11/site-packages/xmlplot/gui_qt4.py", line 562, in onAdvancedClicked self.dialogAdvanced.resizeColumns() File "/opt/anaconda3/envs/pncview/lib/python3.11/site-packages/xmlstore/gui_qt4.py", line 1772, in resizeColumns if self.tree.columnWidth(0)>maxwidth: self.tree.setColumnWidth(0,maxwidth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: setColumnWidth(self, column: int, width: int): argument 2 has unexpected type 'float'

jornbr commented 1 year ago

This should now be fixed in version 0.99.33.

To upgrade, use pip install pyncview --upgrade