Skip to content
Snippets Groups Projects
Commit 0f08760d authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Adds run paht in plot title of knife-edge scans

parent 83223d96
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,7 @@ def knife_edge(nrun, axisKey='scannerX', signalKey='FastADC4peaks', p0=None, ful
lh.set_alpha(1)
plt.ylabel(signalKey)
plt.xlabel(axisKey + ' position [mm]')
plt.title(nrun.attrs['runFolder'])
plt.tight_layout()
if full:
return popt, pcov
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment