import numpy as np import matplotlib.pyplot as plt. # 生成測試數據 x = np.linspace(0, 10, 10) y = 11-x. # 繪製柱狀圖 plt.bar(x, y)
確定! 回上一頁