258f2fb5686dfbe17d797e44a68a681952f23fd1,examples/lines_bars_and_markers/fill.py,,,#,11

Before Change


import numpy as np
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


// Also outline 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)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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: 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: 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: nipy/dipy
Commit Name: 3c4ffa6b9e64f6d521fe27b1d3bfd503a4df5f59
Time: 2010-06-29
Author: matthew.brett@gmail.com
File Name: dipy/core/tests/test_geometry.py
Class Name:
Method Name: test_sphere_distance