English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The matplotlib.figure module contains the Figure class. It is the top-level container for all plot elements. A Figure object is instantiated by calling the figure() function from the pyplot module -
# Filename : example.py # Copyright : 2020 By w3codebox # Author by : www.oldtoolbag.com # Date : 2020-08-08 fig = plt.figure()
The following table is other parameters -
Parameter | Description |
Figsize | Tuple (width,height) in Inches |
Dpi | Points Per Inch |
Facecolor | Face Color of the Graph |
Edgecolor | Edge Color of the Graph |
Linewidth | Border Width |