1.垂直柱狀圖:bar import matplotlib.pyplot as plt import numpy as np #繪製垂直和水平柱狀圖#bar, barh #垂直柱狀圖bar(X,Y) y = [30,53,12,45]
確定! 回上一頁