Changeset 14d9c7b in sasview for src/sas/qtgui/DataExplorer.py
- Timestamp:
- Nov 23, 2016 4:21:03 AM (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:
- 31c5b58
- Parents:
- 49e124c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DataExplorer.py
r49e124c r14d9c7b 388 388 """ 389 389 Create a new matplotlib chart from selected data 390 391 TODO: Add 2D-functionality392 390 """ 393 391 plots = GuiUtils.plotsFromCheckedItems(self.model) … … 437 435 old_plot = PlotHelper.plotById(plot_id) 438 436 439 # Add new data to the old plot 437 # Add new data to the old plot, if data type is the same. 440 438 for plot_set in new_plots: 441 old_plot.data(plot_set) 442 old_plot.plot() 439 if type(plot_set) is type(old_plot._data): 440 old_plot.data(plot_set) 441 old_plot.plot() 443 442 444 443 def chooseFiles(self):
Note: See TracChangeset
for help on using the changeset viewer.