Changeset 34f23c8 in sasview for src/sas/sasgui/perspectives/pr
- Timestamp:
- Mar 20, 2019 10:06:22 AM (6 years ago)
- Branches:
- ticket-1249
- Children:
- 9305b46
- Parents:
- 09d7021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/pr/explore_dialog.py
r5251ec6 r34f23c8 50 50 window_caption = "D Explorer" 51 51 52 def __init__(self, d_min, d_max, parent, id= -1, color=None, \52 def __init__(self, d_min, d_max, parent, id= -1, color=None, 53 53 dpi=None, style=wx.NO_FULL_REPAINT_ON_RESIZE, **kwargs): 54 54 """ … … 77 77 self.plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 78 78 79 # Graph 79 # Graph 80 80 self.graph = Graph() 81 self.graph.xaxis( "\\rm{D_{max}}", 'A')82 self.graph.yaxis( "\\rm{%s}" % DEFAULT_OUTPUT, "")81 self.graph.xaxis(r"\rm{D_{max}}", 'A') 82 self.graph.yaxis(r"\rm{%s}" % DEFAULT_OUTPUT, "") 83 83 self.graph.add(self.plot) 84 84 self.graph.render(self) … … 133 133 # Dictionary of outputs 134 134 self.outputs = {} 135 self.outputs['Chi2/dof'] = [ "\chi^2/dof", "a.u.", self.chi2]135 self.outputs['Chi2/dof'] = [r"\chi^2/dof", "a.u.", self.chi2] 136 136 self.outputs['Oscillation parameter'] = ["Osc", "a.u.", self.osc] 137 137 self.outputs['Positive fraction'] = ["P^+", "a.u.", self.pos] 138 self.outputs['1-sigma positive fraction'] = [ "P^+_{1\ \sigma}",138 self.outputs['1-sigma positive fraction'] = [r"P^+_{1\ \sigma}", 139 139 "a.u.", self.pos_err] 140 140 self.outputs['Rg'] = ["R_g", "A", self.rg]
Note: See TracChangeset
for help on using the changeset viewer.