Changeset aaaf9b4 in sasview for calculatorview/src/sans/perspectives/calculator
- Timestamp:
- Dec 19, 2012 9:56:14 AM (12 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:
- 5ebdf14
- Parents:
- 9714ff5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py
r9714ff5 raaaf9b4 49 49 FONT_VARIANT = 0 50 50 else: 51 PANEL_WIDTH = 6 0052 PANEL_HEIGHT = 42051 PANEL_WIDTH = 620 52 PANEL_HEIGHT = 370 53 53 FONT_VARIANT = 1 54 54 _QMAX_DEFAULT = 0.1 … … 251 251 """ 252 252 hint_msg = "We support the omf or sld data files only." 253 hint_msg += " " 254 hint_msg += "Very slow drawing -->" 253 hint_msg += " " 254 if FONT_VARIANT < 1: 255 hint_msg += "Very " 256 hint_msg += "SLOW drawing -->" 255 257 hint_txt = wx.StaticText(self, -1, hint_msg) 256 258 … … 291 293 """ 292 294 event.Skip() 293 label = self.shape_combo.GetLabel().lower()295 label = event.GetEventObject().GetValue().lower() 294 296 self.default_shape = label 295 297 self.parent.set_omfpanel_default_shap(self.default_shape) … … 618 620 pos_z, ',', c="k", 619 621 alpha=0.5, markeredgecolor='k', markersize=3) 620 622 ax.plot_surface(pos_x, pos_y, pos_z, rstride=4, cstride=4, color='b') 621 623 if has_arrow and len(pos_x) > 0: 622 624 graph_title += "w/ Arrows"
Note: See TracChangeset
for help on using the changeset viewer.