Changeset 9290b1a in sasview for src/sas/qtgui/DataExplorer.py
- Timestamp:
- Dec 16, 2016 12:43:18 PM (7 years ago)
- Branches:
- 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
- Children:
- d3ca363
- Parents:
- 0ba0774
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DataExplorer.py
r0ba0774 r9290b1a 401 401 new_plot = Plotter(self) 402 402 403 def addDataPlot(plot, plot_set):404 plot.data = plot_set405 plot.plot()406 407 403 def addDataPlot2D(plot_set): 408 404 plot2D = Plotter2D(self) 409 addDataPlot(plot2D,plot_set)405 plot2D.plot(plot_set) 410 406 self.plotAdd(plot2D) 411 407 412 408 for plot_set in plots: 413 409 if isinstance(plot_set, Data1D): 414 addDataPlot(new_plot,plot_set)410 new_plot.plot(plot_set) 415 411 elif isinstance(plot_set, Data2D): 416 412 addDataPlot2D(plot_set) … … 418 414 msg = "Incorrect data type passed to Plotting" 419 415 raise AttributeError, msg 420 421 416 422 417 if plots and \
Note: See TracChangeset
for help on using the changeset viewer.