Skip to content

Commit 9d77726

Browse files
committed
remove plot from whatsnew
1 parent 9de925e commit 9d77726

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

doc/release/next_whats_new/stackplot_style_sequences.rst

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,3 @@ Stackplot styling
44
`~.Axes.stackplot` now accepts sequences for the style parameters *facecolor*,
55
*edgecolor*, *linestyle*, and *linewidth*, similar to how the *hatch* parameter
66
is already handled.
7-
8-
.. plot::
9-
:include-source: true
10-
:alt: A stackplot showing with two regions. The bottom region is red with black dots and a dotted black outline. The top region is blue with gray stars and a thicker dashed outline.
11-
12-
import matplotlib.pyplot as plt
13-
import numpy as np
14-
15-
x = np.linspace(0, 10, 10)
16-
y1 = 1.0 * x
17-
y2 = 2.0 * x + 1
18-
19-
fig, ax = plt.subplots()
20-
21-
ax.stackplot(x, y1, y2,
22-
facecolor=['tab:red', 'tab:blue'],
23-
edgecolor=['black', 'gray'],
24-
linestyle=[':', '--'],
25-
linewidth=[2, 3],
26-
hatch=['.', '*'])

0 commit comments

Comments
 (0)