📜  pyplot aera - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:02.991000             🧑  作者: Mango

代码示例1
import matplotlib.pyplot as plt

x = np.arange(0.0, 2, 0.01)
y1 = np.sin(2 * np.pi * x)

plt.fill_between(x, y1, 1)