From 3716b099fe18ff458012084d344fce5f439d3532 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 30 Nov 2020 17:15:26 -0500 Subject: update code to work with python3 This commit updates the python code to work with python 3 and with a newer version of matplotlib. - zip_longest -> izip_longest - fix tick marks for log plots - scipy.misc -> scipy.special --- utils/plot-fit-results | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/plot-fit-results') diff --git a/utils/plot-fit-results b/utils/plot-fit-results index 20c3c68..cc85213 100755 --- a/utils/plot-fit-results +++ b/utils/plot-fit-results @@ -133,7 +133,7 @@ if __name__ == '__main__': label = 'Muon' if id == IDP_MU_MINUS else 'Electron' - marker = markers.next() + marker = next(markers) plt.figure(1) plt.errorbar(T,dT['median']*100/T,yerr=dT['median_err']*100/T,fmt=marker,label=label) -- cgit