fill between two curves python
plt.fill_between(x, y1, y2)
fill_between matplotlib
matplotlib.pyplot.fill_between(x, y1, y2=0, where=None, interpolate=False, step=None, *, data=None, **kwargs)
Parameters :
x: array (length N)
The x coordinates of the nodes defining the curves.
y1: array (length N) or scalar
The y coordinates of the nodes defining the first curve.
y2: array (length N) or scalar, default: 0
The y coordinates of the nodes defining the second curve.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us