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

Skip to content

Commit 39cee89

Browse files
committed
FIX: drop logic to check for repeat labels
1 parent d5e325d commit 39cee89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_figure_legend():
9090
axes[0].plot([0, 1], [0, 1], label='y', color='r')
9191
axes[0].plot([0, 1], [0.5, 0.5], label='y', color='k')
9292

93-
axes[1].plot([0, 1], [1, 0], label='y', color='r')
93+
axes[1].plot([0, 1], [1, 0], label='_y', color='r')
9494
axes[1].plot([0, 1], [0, 1], label='z', color='b')
9595
fig.legend()
9696

0 commit comments

Comments
 (0)