Matplotlib-figure-class

提供:Dev Guides
2020年6月23日 (火) 08:57時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Matplotlib-Figureクラス

*matplotlib.figure* モジュールには、Figureクラスが含まれています。 これは、すべてのプロット要素のトップレベルのコンテナです。 Figureオブジェクトは、pyplotモジュールから* figure()*関数を呼び出すことによりインスタンス化されます-
fig = plt.figure()

次の表は、追加のパラメータを示しています-

Figsize (width,height) tuple in inches
Dpi Dots per inches
Facecolor Figure patch facecolor
Edgecolor Figure patch edge color
Linewidth Edge line width