- Timestamp:
- Apr 22, 2010 11:09:26 AM (15 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:
- 46e7e82
- Parents:
- e7ff682
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/detector_dialog.py
r7526ad4 r1f1cacf 13 13 from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as Canvas 14 14 from matplotlib import pyplot, mpl, pylab 15 15 #FONT size 16 if sys.platform.count("win32")>0: 17 FONT_VARIANT = 0 18 else: 19 FONT_VARIANT = 1 20 16 21 DEFAULT_CMAP= pylab.cm.jet 17 22 class DetectorDialog(wx.Dialog): … … 25 30 kwds["style"] = wx.DEFAULT_DIALOG_STYLE 26 31 wx.Dialog.__init__(self,parent,id=1, *args, **kwds) 27 32 33 self.SetWindowVariant(variant=FONT_VARIANT) 28 34 self.parent=base 29 35 self.dpi = dpi
Note: See TracChangeset
for help on using the changeset viewer.