mccutcheonlab / trompy

Collection of tools for plotting and data analysis from McCutcheon Lab in Tromsø
MIT License
1 stars 0 forks source link

SEM not plotted correctly in fig_utils.shadedError #7

Closed jaimemcc closed 1 year ago

jaimemcc commented 1 year ago

yerror = np.std(yarray)/np.sqrt(len(yarray))

should be

yerror = np.std(yarray,axis=0)/np.sqrt(len(yarray))