diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-11-30 17:15:26 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-11-30 17:15:26 -0500 |
commit | 3716b099fe18ff458012084d344fce5f439d3532 (patch) | |
tree | b33fb9a03e5ca8e0d2026353f3597b104b9218a6 /utils/plot-fit-results | |
parent | 8a8e51c15ec61e50e1e32a0ca5b71fdf758937a5 (diff) | |
download | sddm-3716b099fe18ff458012084d344fce5f439d3532.tar.gz sddm-3716b099fe18ff458012084d344fce5f439d3532.tar.bz2 sddm-3716b099fe18ff458012084d344fce5f439d3532.zip |
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
Diffstat (limited to 'utils/plot-fit-results')
-rwxr-xr-x | utils/plot-fit-results | 2 |
1 files changed, 1 insertions, 1 deletions
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) |