Skip to content

Commit bb78f0d

Browse files
committed
Merge docstring coherent
1 parent aa62fc2 commit bb78f0d

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

examples/lines_bars_and_markers/fill_demo.py

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
"""
2-
==================
3-
A simple Fill plot
4-
==================
2+
==============
3+
Fill plot demo
4+
==============
55
6-
This example showcases the most basic fill plot a user can do with matplotlib.
6+
First example showcases the most basic fill plot a user can do with matplotlib.
7+
8+
Second example shows a few optional features:
9+
10+
* Multiple curves with a single command.
11+
* Setting the fill color.
12+
* Setting the opacity (alpha value).
713
"""
814
import numpy as np
915
import matplotlib.pyplot as plt
@@ -17,17 +23,6 @@
1723
ax.grid(True, zorder=5)
1824
plt.show()
1925

20-
"""
21-
========================
22-
A more complex fill demo
23-
========================
24-
25-
In addition to the basic fill plot, this demo shows a few optional features:
26-
27-
* Multiple curves with a single command.
28-
* Setting the fill color.
29-
* Setting the opacity (alpha value).
30-
"""
3126
x = np.linspace(0, 2 * np.pi, 500)
3227
y1 = np.sin(x)
3328
y2 = np.sin(3 * x)

0 commit comments

Comments
 (0)