Should the following work (after the standard Workbench header):
W=CreateWorkspace(DataX=[0,1,2],DataY=[3,7,5],DataE=[0.2,0.3,0.1],NSpec=1) lbl=W.getAxis(0).setUnit("Label") lbl.setLabel("Time",u"\u00B5s") # microseconds W.setYUnitLabel(u"Distance in \u00C5") # Angstrom symbol
I find that I can do Show Data (although the column headers are a bit of a mess), but any attempt to plot it gives a page of traceback from Matplotlib saying that characters >=128 are not acceptable unless they are Unicode.
I also get an error every time the auto recovery system tries to save the workspace:
Unknown error occurred. Full detail: 'utf8' codec can't decode byte 0xb5 in position 36: invalid start byte
Maybe it’ll all work well in Python 3.