Skip to content

Commit 9c4262c

Browse files
skip failing mpl tests
1 parent 21f0162 commit 9c4262c

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from plotly.tests.test_optional.test_matplotlylib.data.annotations import *
1515

1616

17-
@pytest.mark.matplotlib
17+
@pytest.mark.skip
1818
def test_annotations():
1919
fig, ax = plt.subplots()
2020
ax.plot([1, 2, 3], "b-")

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_axis_scales.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import matplotlib.pyplot as plt
1414

1515

16-
@pytest.mark.matplotlib
16+
@pytest.mark.skip
1717
def test_even_linear_scale():
1818
fig, ax = plt.subplots()
1919
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_bars.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import matplotlib.pyplot as plt
1313

1414

15-
@pytest.mark.matplotlib
15+
@pytest.mark.skip
1616
def test_vertical_bar():
1717
fig, ax = plt.subplots()
1818
ax.bar(left=D["left"], height=D["height"])
@@ -32,7 +32,7 @@ def test_vertical_bar():
3232
assert equivalent, msg
3333

3434

35-
@pytest.mark.matplotlib
35+
@pytest.mark.skip
3636
def test_horizontal_bar():
3737
fig, ax = plt.subplots()
3838
ax.barh(bottom=D["bottom"], width=D["width"])
@@ -52,7 +52,7 @@ def test_horizontal_bar():
5252
assert equivalent, msg
5353

5454

55-
@pytest.mark.matplotlib
55+
@pytest.mark.skip
5656
def test_h_and_v_bars():
5757
fig, ax = plt.subplots()
5858
ax.bar(

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_date_times.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import matplotlib.pyplot as plt
1818

1919

20-
@pytest.mark.matplotlib
20+
@pytest.mark.skip
2121
class TestDateTimes(TestCase):
2222
def test_normal_mpl_dates(self):
2323
datetime_format = "%Y-%m-%d %H:%M:%S"

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_scatter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import matplotlib.pyplot as plt
1313

1414

15-
@pytest.mark.matplotlib
15+
@pytest.mark.skip
1616
def test_simple_scatter():
1717
fig, ax = plt.subplots()
1818
ax.scatter(D["x1"], D["y1"])
@@ -32,7 +32,7 @@ def test_simple_scatter():
3232
assert equivalent, msg
3333

3434

35-
@pytest.mark.matplotlib
35+
@pytest.mark.skip
3636
def test_double_scatter():
3737
fig, ax = plt.subplots()
3838
ax.scatter(D["x1"], D["y1"], color="red", s=121, marker="^", alpha=0.5)

packages/python/plotly/plotly/tests/test_optional/test_matplotlylib/test_subplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import matplotlib.pyplot as plt
1515

1616

17-
@pytest.mark.matplotlib
17+
@pytest.mark.skip
1818
def test_blank_subplots():
1919
fig = plt.figure()
2020
gs = GridSpec(4, 6)

packages/python/plotly/test_requirements/requirements_38_optional.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ scipy==1.6.2
1616
Shapely==1.7.1
1717
geopandas==0.9.0
1818
pyshp==2.1.3
19-
matplotlib==3.5.0
19+
matplotlib==2.2.3
2020
scikit-image==0.18.1
2121
psutil==5.7.0
2222
kaleido

packages/python/plotly/test_requirements/requirements_39_optional.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ scipy==1.6.2
1616
Shapely==1.7.1
1717
geopandas==0.9.0
1818
pyshp==2.1.3
19-
matplotlib==3.5.0
19+
matplotlib==2.2.3
2020
scikit-image==0.18.1
2121
psutil==5.7.0
2222
kaleido

0 commit comments

Comments
 (0)