Changeset 9e00363 in sasview
- Timestamp:
- Jun 21, 2012 5:00:16 PM (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:
- f5500b3
- Parents:
- ffdfd23
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r79c8066 r9e00363 25 25 _BOX_WIDTH = 230 26 26 PANEL_WIDTH = 890 27 PANEL_HEIGTH = 4 7027 PANEL_HEIGTH = 430 28 28 FONT_VARIANT = 1 29 29 ON_MAC = True … … 626 626 627 627 self.erase_legend() 628 self.figure.tight_layout() 629 #self.figure.subplots_adjust(left=0.1, bottom=0.1) 630 628 try: 629 # mpl >= 1.1.0 630 self.figure.tight_layout() 631 except: 632 self.figure.subplots_adjust(left=0.1, bottom=0.1) 631 633 self.subplot.figure.canvas.draw() 632 634 … … 662 664 except: 663 665 self.subplot.set_frame_on(False) 664 self.figure.tight_layout() 665 #self.figure.subplots_adjust(left=0.1, bottom=0.1) 666 try: 667 # mpl >= 1.1.0 668 self.figure.tight_layout() 669 except: 670 self.figure.subplots_adjust(left=0.1, bottom=0.1) 666 671 if len(label) > 0 and xpos > 0 and ypos > 0: 667 672 new_text = self.subplot.text(str(xpos), str(ypos), str(label), -
calculatorview/src/sans/perspectives/calculator/model_editor.py
r9ec0955 r9e00363 20 20 FONT_VARIANT = 1 21 21 PNL_WIDTH = 590 22 PNL_HITE = 40022 PNL_HITE = 350 23 23 M_NAME = 'Model' 24 24 EDITOR_WIDTH = 800 … … 375 375 On Select an Operator 376 376 """ 377 # For Mac 378 if event != None: 379 event.Skip() 380 377 381 item = event.GetEventObject() 378 382 text = item.GetLabel().strip()
Note: See TracChangeset
for help on using the changeset viewer.