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

Skip to content

Commit a22ed53

Browse files
committed
Cleanup and move fill_demo
1 parent a16e793 commit a22ed53

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""
2+
Simple demo of the fill function.
3+
"""
4+
import numpy as np
5+
import matplotlib.pyplot as plt
6+
7+
8+
x = np.linspace(0, 1)
9+
y = np.sin(4 * np.pi * x) * np.exp(-5 * x)
10+
11+
plt.fill(x, y, 'r')
12+
plt.grid(True)
13+
plt.show()

examples/pylab_examples/fill_demo.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)