import
numpy as np
import
matplotlib.pyplot as plt
left = np.array([1, 2, 3, 4, 5])
height = np.array([100, 200, 300, 400, 500])
label = ["Apple", "Banana", "Orange", "Grape", "Strawberry"]
plt.bar(left, height, tick_label=label, align="center")
plt.show()
最終更新:2017年11月17日 08:16