Changeset f7d39c9 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Aug 22, 2018 7:00:00 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
b7f7d3f
Parents:
0d8b2db
Message:

Several fixes for runtime errors. SASVIEW-988.
Failures in Algorithm Option dialog
Q Ranges not showing properly with charts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataExplorer.py

    rb51c8fc rf7d39c9  
    542542                # 'sophisticated' test to generate standalone plot for residuals 
    543543                if 'esiduals' in plot.title: 
    544                     self.plotData([(item, plot)]) 
     544                    self.plotData([(item, plot)], transform=False) 
    545545                else: 
    546546                    new_plots.append((item, plot)) 
     
    583583        #============================================ 
    584584 
    585     def plotData(self, plots): 
     585    def plotData(self, plots, transform=True): 
    586586        """ 
    587587        Takes 1D/2D data and generates a single plot (1D) or multiple plots (2D) 
     
    594594                    new_plot = Plotter(self) 
    595595                    new_plot.item = item 
    596                 new_plot.plot(plot_set) 
     596                new_plot.plot(plot_set, transform=transform) 
    597597                # active_plots may contain multiple charts 
    598598                self.active_plots[plot_set.id] = new_plot 
Note: See TracChangeset for help on using the changeset viewer.