學習python庫matplotlib之常見統計柱狀圖(4)

1 柱狀圖特點 柱狀圖:排列在工作表的列或行中的數據可以繪製到柱狀圖中。 特點:繪製連離散的數據,能夠一眼看出各個數據的大小,比較數據之間的差別。(統計/對比) 2 柱狀圖API matplotlib.pyplot. bar (*args, **kwargs) bar(x, height, width, bottom, *, align=‘center’, **kwargs) 參數: x:數據標量
相關文章
相關標籤/搜索