- Timestamp:
- Oct 30, 2018 9:40:47 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 04e1c80
- Parents:
- 0c83303
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter2D.py
r722b7d6 rf5cec7c 113 113 """ 114 114 # Toggle the scale 115 zmin_temp = self.zmin if self.zmin else MIN_Z115 zmin_temp = self.zmin 116 116 zmax_temp = self.zmax 117 117 # self.scale predefined in the baseclass … … 422 422 if self.scale == 'log_{10}': 423 423 try: 424 if self.zmin <= 0and len(output[output > 0]) > 0:424 if self.zmin is None and len(output[output > 0]) > 0: 425 425 zmin_temp = self.zmin 426 426 output[output > 0] = numpy.log10(output[output > 0]) … … 434 434 except: 435 435 #Too many problems in 2D plot with scale 436 output[output > 0] = numpy.log10(output[output > 0])437 436 pass 438 437 … … 450 449 else: 451 450 self.im = self.ax.imshow(output, interpolation='nearest', 451 origin='lower', 452 452 vmin=zmin_temp, vmax=zmax_temp, 453 453 cmap=self.cmap,
Note: See TracChangeset
for help on using the changeset viewer.