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




x = [0, 0, 1, 2, 2]
y = [0, 1, 2, 1, 0]

fig, ax = plt.subplots()
ax.fill(x, y, zorder=10)
ax.grid(True, zorder=5)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: cornellius-gp/gpytorch
Commit Name: 59d4a8b3bea3b5969f79b45456c8e594b617ce92
Time: 2017-11-13
Author: gpleiss@gmail.com
File Name: test/lazy/toeplitz_lazy_variable_test.py
Class Name:
Method Name: