Commits

iorodeo  committed 2e30b1c

Fixed bug in plot.py which was caused by adding significant digits option.

  • Participants
  • Parent commits ab79e9c

Comments (0)

Files changed (1)

File python/Colorimeter/colorimeter/gui/plot/plot.py

     def setTableData(self,dataList):
         dataList = dataListToFloat(dataList)
         self.tableWidget.clean(setup=True)
+        digits = self.getSignificantDigits()
         for conc, abso in dataList:
             concStr = str(conc)
             absoStr = '{value:1.{digits}f}'.format(value=abso,digits=digits)