Changeset 30bc96eb in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Jun 11, 2018 4:42:16 AM (7 years ago)
- Branches:
- ESS_GUI, 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
- Children:
- 3597f07
- Parents:
- 397037e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ReportPageLogic.py
r397037e r30bc96eb 3 3 import datetime 4 4 import re 5 import sys 5 6 import logging 6 7 from io import BytesIO … … 105 106 data64 = base64.b64encode(data) 106 107 data_to_print = urllib.parse.quote(data64) 107 html += FEET_2.format(data_to_print) 108 108 feet=FEET_2 109 if sys.platform == "darwin": # Mac 110 feet = FEET_3 111 html += feet.format(data_to_print) 112 html += ELINE 113 del canvas 109 114 return html 110 115 … … 166 171 plot2D.plot(plot_set) 167 172 graphs.append(plot2D.figure) 173 168 174 else: 169 175 msg = "Incorrect data type passed to Plotting" … … 204 210 """ 205 211 FEET_2 = \ 212 '''<img src="data:image/png;base64,{}"></img> 213 ''' 214 FEET_3 = \ 206 215 '''<img width="540" src="data:image/png;base64,{}"></img> 207 216 '''
Note: See TracChangeset
for help on using the changeset viewer.