ASG
Matplotlib HQ Export
Menu
Packer
Editor & preview
Render
Export SVG
Export PNG
Select folder
File name
PNG scale
import numpy as np x = np.linspace(0, 2 * np.pi, 200) plt.figure(figsize=(6, 3.5)) plt.plot(x, np.sin(x), color="#4cc9f0", label="sin") plt.plot(x, np.cos(x), color="#80ffdb", label="cos") plt.xlabel("x") plt.ylabel("y") plt.title("Matplotlib demo") plt.legend() plt.grid(True, alpha=0.3)