Changeset fec4939 in sasview for sansguiframe/src/sans
- Timestamp:
- Sep 14, 2011 9:27:17 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:
- 296b9c1
- Parents:
- 73eb92fc
- Location:
- sansguiframe/src/sans/guiframe
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r8523a1f2 rfec4939 1581 1581 panel.clear() 1582 1582 panel.Close() 1583 self._mgr.Update() 1583 #CallAfter: make sure panel is clear before updating mgr 1584 wx.CallAfter(self._mgr.Update) 1584 1585 #delete uid number not str(uid) 1585 1586 if uid in self.plot_panels.keys(): -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
r73eb92fc rfec4939 216 216 if id in theory_list.keys(): 217 217 data = theory_list[id] 218 218 219 219 del self.plots[id] 220 220 self.graph.render(self) … … 223 223 #onRemove: graph is empty must be the panel must be destroyed 224 224 self.parent.delete_panel(self.uid) 225 225 226 226 227 def plot_data(self, data): … … 529 530 ## Set the view scale for all plots 530 531 self._onEVT_FUNC_PROPERTY() 531 ## render the graph532 #self.graph.render(self)533 #self.subplot.figure.canvas.draw_idle()534 print "PARENT: ", self.parent535 532 wx.PostEvent(self.parent, 536 533 NewColorEvent(color=selected_plot.custom_color, -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/plotting.py
r53cf669 rfec4939 97 97 panel = self.plot_panels[group_id] 98 98 panel.remove_data_by_id(id=id) 99 99 100 return True 100 101 return False
Note: See TracChangeset
for help on using the changeset viewer.