f742f0a9ae6c7b4b92fac3dbe3a037eba00dabb0,examples/lines_bars_and_markers/fill.py,,,#,11

Before Change


import matplotlib.pyplot as plt

x = np.linspace(0, 1, 500)
y = np.sin(4 * np.pi * x) * np.exp(-5 * x)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// First, the most basic fill plot a user can make with matplotlib:

After Change



// Outline of the region we"ve filled in
ax.plot(x, y1, c="b", alpha=0.8)
ax.plot(x, y2, c="r", alpha=0.8)
ax.plot([x[0], x[-1]], [y1[0], y1[-1]], c="b", alpha=0.8)
ax.plot([x[0], x[-1]], [y2[0], y2[-1]], c="r", alpha=0.8)

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: matplotlib/matplotlib
Commit Name: f742f0a9ae6c7b4b92fac3dbe3a037eba00dabb0
Time: 2018-04-12
Author: jklymak@gmail.com
File Name: examples/lines_bars_and_markers/fill.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 2597f3deace4fbea6d755f3b440935c8041832fd
Time: 2017-12-11
Author: anntzer.lee@gmail.com
File Name: examples/user_interfaces/embedding_in_tk_sgskip.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 258f2fb5686dfbe17d797e44a68a681952f23fd1
Time: 2018-04-09
Author: sam.vaughan@physics.ox.ac.uk
File Name: examples/lines_bars_and_markers/fill.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 596345e6ec8a33759abe21563902e0d7e9b357e7
Time: 2017-12-02
Author: anntzer.lee@gmail.com
File Name: examples/user_interfaces/embedding_in_tk_sgskip.py
Class Name:
Method Name: