Changeset ac07a3a in sasview for src/sas/sasgui/plottools
- Timestamp:
- Apr 9, 2017 6:08:43 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 7432acb
- Parents:
- 235f514
- Location:
- src/sas/sasgui/plottools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/fittings.py
r235f514 rac07a3a 25 25 self.model = model 26 26 self.name = name 27 if not value isNone:27 if value is not None: 28 28 self.model.setParam(self.name, value) 29 29 -
src/sas/sasgui/plottools/plottable_interactor.py
r235f514 rac07a3a 50 50 l_width = markersize * 0.4 51 51 return self.step(x=x, y=y, color=color, label=label, width=l_width) 52 if not self.marker isNone:53 self.base.connect.clear([self.marker]) 54 self.color = self._color(color) 55 if self.markersize !=None:52 if self.marker is not None: 53 self.base.connect.clear([self.marker]) 54 self.color = self._color(color) 55 if self.markersize is not None: 56 56 markersize = self.markersize 57 57 # Convert tuple (lo,hi) to array [(x-lo),(hi-x)] -
src/sas/sasgui/plottools/plottables.py
r235f514 rac07a3a 229 229 if p.hidden == True: 230 230 continue 231 if not p.x isNone:231 if p.x is not None: 232 232 for x_i in p.x: 233 233 if min_value is None or x_i < min_value:
Note: See TracChangeset
for help on using the changeset viewer.