📌  相关文章
📜  Matplotlib-图形类

📅  最后修改于: 2020-11-08 07:24:43             🧑  作者: Mango


matplotlib.figure模块包含Figure类。它是所有绘图元素的顶级容器。通过从pyplot模块调用fig ()函数来实例化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