Changeset d4edd72 in sasview for fittingview/src/sans/perspectives
- Timestamp:
- Aug 17, 2011 9:38:32 AM (13 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- c966e1c
- Parents:
- d48858da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitting.py
r9f4f8f4 rd4edd72 215 215 item = plotpanel.plots[graph.selected_plottable] 216 216 self.test_model_color = item.custom_color 217 #print "i'm in fitting - color is",self.test_model_color217 print "Self.test_model_color has been set to ",self.test_model_color 218 218 if item.__class__.__name__ is "Data2D": 219 219 if hasattr(item,"is_data"): … … 1449 1449 current_pg = self.fit_panel.get_page_by_id(page_id) 1450 1450 title = new_plot.title 1451 new_plot.custom_color = self.test_model_color1452 1451 #print "just set the new plot color" 1453 1452 if new_plot.id in self.color_dict: 1454 1453 new_plot.custom_color = self.color_dict[new_plot.id] 1454 else: 1455 new_plot.custom_color = self.test_model_color 1456 1457 print "Current plot ID: ", new_plot.id 1458 print "Current plot Color: ", new_plot.custom_color 1455 1459 #print "I HAVE JUST ADDED A NEW COLOR/ID ", new_plot.custom_color 1456 1460 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot,
Note: See TracChangeset
for help on using the changeset viewer.