Changes in src/sas/qtgui/DataExplorer.py [8548d739:ef01be4] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DataExplorer.py
r8548d739 ref01be4 410 410 raise AttributeError, msg 411 411 412 413 412 if plots and \ 414 413 hasattr(new_plot, 'data') and \ … … 765 764 data = GuiUtils.dataFromItem(model_item) 766 765 767 dimension = 1 if isinstance(data, Data1D) else 2 766 method_name = 'Plotter' 767 if isinstance(data, Data2D): 768 method_name='Plotter2D' 768 769 769 770 # TODO: Replace this with the proper MaskPlotPanel from plottools 770 new_plot = Plotter(self)771 new_plot.data (data)771 new_plot = globals()[method_name](self, quickplot=True) 772 new_plot.data = data 772 773 new_plot.plot(marker='o', linestyle='') 773 774
Note: See TracChangeset
for help on using the changeset viewer.