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

Skip to content

Commit f961ae9

Browse files
committed
hopefully fixing whitespace
1 parent db32fec commit f961ae9

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)