-
[Python] Matplotlib 히스토그램코드 2020. 12. 8. 15:37
Plot histogram and save as png file.
import matplotlib.pyplot as plt plt.hist(aspect_ratios, bins=50) plt.ylabel('Number of boxes') plt.xlabel('Aspect raio') plt.savefig('aspect_ratio.png')
'코드' 카테고리의 다른 글
[Numpy] RGB mean/std 구하기 (0) 2020.12.10 [Python] read/write json (0) 2020.11.25