From 7745fab0ab3e86e0b2902ba4d9c4b9e21ecd34ac Mon Sep 17 00:00:00 2001 From: robertoffmoura Date: Fri, 10 Oct 2025 10:12:04 +0100 Subject: [PATCH] Fix matplotlylib tests --- plotly/matplotlylib/mplexporter/tests/test_basic.py | 4 ++-- plotly/matplotlylib/mplexporter/tests/test_utils.py | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plotly/matplotlylib/mplexporter/tests/test_basic.py b/plotly/matplotlylib/mplexporter/tests/test_basic.py index 3739e1303e..0fd3da0ad5 100644 --- a/plotly/matplotlylib/mplexporter/tests/test_basic.py +++ b/plotly/matplotlylib/mplexporter/tests/test_basic.py @@ -240,9 +240,9 @@ def test_legend_dots(): draw line with 3 points draw 3 markers opening legend - draw line with 2 points + draw line with 3 points draw text 'label' None - draw 1 markers + draw 3 markers draw text 'dots' None draw path with 13 vertices closing legend diff --git a/plotly/matplotlylib/mplexporter/tests/test_utils.py b/plotly/matplotlylib/mplexporter/tests/test_utils.py index 9c302d7491..29dc906650 100644 --- a/plotly/matplotlylib/mplexporter/tests/test_utils.py +++ b/plotly/matplotlylib/mplexporter/tests/test_utils.py @@ -16,12 +16,12 @@ def test_linestyle(): linestyles = { "solid": "none", "-": "none", - "dashed": "5.550000000000001,2.4000000000000004", - "--": "5.550000000000001,2.4000000000000004", - "dotted": "1.5,2.4749999999999996", - ":": "1.5,2.4749999999999996", - "dashdot": "9.600000000000001,2.4000000000000004,1.5,2.4000000000000004", - "-.": "9.600000000000001,2.4000000000000004,1.5,2.4000000000000004", + "dashed": "6,6", + "--": "6,6", + "dotted": "2,2", + ":": "2,2", + "dashdot": "4,4,2,4", + "-.": "4,4,2,4", "": None, "None": None, }