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

Skip to content

Commit 45e1290

Browse files
committed
Removed accidental duplication of test_legend_stackplot
1 parent b898fa3 commit 45e1290

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/matplotlib/tests/test_legend.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -228,21 +228,6 @@ def test_warn_args_kwargs(self):
228228
"discarded.")
229229

230230

231-
@image_comparison(baseline_images=['legend_stackplot'], extensions=['png'])
232-
def test_legend_stackplot():
233-
'''test legend for PolyCollection using stackplot'''
234-
# related to #1341, #1943, and PR #3303
235-
fig = plt.figure()
236-
ax = fig.add_subplot(111)
237-
x = np.linspace(0, 10, 10)
238-
y1 = 1.0 * x
239-
y2 = 2.0 * x + 1
240-
y3 = 3.0 * x + 2
241-
ax.stackplot(x, y1, y2, y3, labels=['y1', 'y2', 'y3'])
242-
ax.set_xlim((0, 10))
243-
ax.set_ylim((0, 70))
244-
ax.legend(loc=0)
245-
246231
@image_comparison(baseline_images=['legend_stackplot'], extensions=['png'])
247232
def test_legend_stackplot():
248233
'''test legend for PolyCollection using stackplot'''

0 commit comments

Comments
 (0)