카테고리 없음
average, std 그리기
바나나인간
2022. 4. 28. 17:47
# total_len = np.array(total_len)
# mean = total_len.mean()
# std_error = np.std(total_len, ddof=1) / np.sqrt(len(total_len))
# #define chart
# fig, ax = plt.subplots()
# #create chart
# ax.bar(x=np.arange(1), #x-coordinates of bars
# height=mean, #height of bars
# yerr=std_error, #error bar width
# capsize=4) #length of error bar caps
# fig.savefig('averaged_num.jpg')