Changes in src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py [9a5097c:463e7ffc] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
r9a5097c r463e7ffc 14 14 import sys 15 15 import math 16 import numpy as np16 import numpy 17 17 import logging 18 18 from sas.sasgui.plottools.PlotPanel import PlotPanel … … 30 30 from graphAppearance import graphAppearance 31 31 (InternalEvent, EVT_INTERNAL) = wx.lib.newevent.NewEvent() 32 33 logger = logging.getLogger(__name__) 32 34 33 35 DEFAULT_QMAX = 0.05 … … 432 434 except: 433 435 msg = "Add Text: Error. Check your property values..." 434 logg ing.error(msg)436 logger.error(msg) 435 437 if self.parent != None: 436 438 wx.PostEvent(self.parent, StatusEvent(status=msg)) … … 567 569 """ 568 570 # Find the best number of bins 569 npt = math.sqrt(len(self.data2D.data[n p.isfinite(self.data2D.data)]))571 npt = math.sqrt(len(self.data2D.data[numpy.isfinite(self.data2D.data)])) 570 572 npt = math.floor(npt) 571 573 from sas.sascalc.dataloader.manipulations import CircularAverage
Note: See TracChangeset
for help on using the changeset viewer.