Skip to content

Commit beafa1c

Browse files
authored
Merge pull request #5374 from robertoffmoura/rm/fix-matplotlylib-tests
Fix matplotlylib tests
2 parents 094c3dc + d60aa69 commit beafa1c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

plotly/matplotlylib/mplexporter/tests/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ def test_legend_dots():
240240
draw line with 3 points
241241
draw 3 markers
242242
opening legend
243-
draw line with 2 points
243+
draw line with 3 points
244244
draw text 'label' None
245-
draw 1 markers
245+
draw 3 markers
246246
draw text 'dots' None
247247
draw path with 13 vertices
248248
closing legend

plotly/matplotlylib/mplexporter/tests/test_utils.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ def test_linestyle():
1616
linestyles = {
1717
"solid": "none",
1818
"-": "none",
19-
"dashed": "5.550000000000001,2.4000000000000004",
20-
"--": "5.550000000000001,2.4000000000000004",
21-
"dotted": "1.5,2.4749999999999996",
22-
":": "1.5,2.4749999999999996",
23-
"dashdot": "9.600000000000001,2.4000000000000004,1.5,2.4000000000000004",
24-
"-.": "9.600000000000001,2.4000000000000004,1.5,2.4000000000000004",
19+
"dashed": "6,6",
20+
"--": "6,6",
21+
"dotted": "2,2",
22+
":": "2,2",
23+
"dashdot": "4,4,2,4",
24+
"-.": "4,4,2,4",
2525
"": None,
2626
"None": None,
2727
}

0 commit comments

Comments
 (0)