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

Skip to content

Commit 3bfca5f

Browse files
committed
Simplified test
1 parent 9024be4 commit 3bfca5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,8 +4673,7 @@ def test_hist_emptydata():
46734673

46744674

46754675
def test_hist_none_patch():
4676-
x = [[1, 2], [2, 3]]
4677-
plt.hist(x, label=["First", "Second", "Third"])
4676+
plt.hist([1, 2], label=["First", "Second"])
46784677

46794678

46804679
def test_hist_labels():

0 commit comments

Comments
 (0)