plot impovement

This commit is contained in:
Ryan Tang 2024-11-08 18:15:50 -05:00
parent 2666875379
commit 43efd88986

View File

@ -115,8 +115,9 @@ class FitPlotWindow(QWidget):
fitXsecID = list(dict.fromkeys(fitXsecID))
fitHeaders = list(dict.fromkeys(fitHeaders))
size = len(fitHeaders) - 1
for i , header in enumerate(fitHeaders):
self.ax.text(0.02, 0.10 + 0.05*i, f'Fit-{fitXsecID[i]} : {header}', transform=plt.gca().transAxes,
self.ax.text(0.02, 0.10 + 0.05 * size - 0.05*i, f'Fit-{fitXsecID[i]} : {header}', transform=plt.gca().transAxes,
fontsize=12, verticalalignment='bottom', horizontalalignment='left', color='grey')