如果有多個子圖表,title() 方法會設定子圖表的標題,主標題則使用suptitle() 方法設定。 ... ax = plt.subplots(1,2) plt.suptitle('test') # 設定圖表主title ...
確定! 回上一頁