Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db32fec

Browse files
committed
added white space to pass PEP8-check
1 parent 2b18763 commit db32fec

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

examples/pyplots/fill_between.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
import numpy as np
99

1010
x = np.arange(-5, 5, 0.01)
11-
y1 = -5*x*x + x + 10
12-
y2 = 5*x*x + x
11+
y1 = -5 * x * x + x + 10
12+
y2 = 5 * x * x + x
1313

1414
fig, ax = plt.subplots()
15-
ax.plot(x, y1, x, y2, color='black')
16-
ax.fill_between(x, y1, y2, where=y2>y1, facecolor='yellow', alpha=0.5)
17-
ax.fill_between(x, y1, y2, where=y2<=y1, facecolor='red', alpha=0.5)
15+
ax.plot(x, y1, x, y2, color = 'black')
16+
ax.fill_between(x, y1, y2, where = y2 > y1, facecolor = 'yellow', alpha = 0.5)
17+
ax.fill_between(x, y1, y2, where = y2 < = y1, facecolor = 'red', alpha = 0.5)
1818
ax.set_title('Fill Between')
1919

2020
plt.show()

0 commit comments

Comments
 (0)