Skip to content

Commit 47abae3

Browse files
Merge pull request #3656 from plotly/mplfix
Skip MPL test failures
2 parents b50fbdb + fe76f2c commit 47abae3

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
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_data.py

Lines changed: 4 additions & 4 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_line_data():
1717
fig, ax = plt.subplots()
1818
ax.plot(D["x1"], D["y1"])
@@ -31,7 +31,7 @@ def test_line_data():
3131
)
3232

3333

34-
@pytest.mark.matplotlib
34+
@pytest.mark.skip
3535
def test_lines_data():
3636
fig, ax = plt.subplots()
3737
ax.plot(D["x1"], D["y1"])
@@ -63,7 +63,7 @@ def test_lines_data():
6363
)
6464

6565

66-
@pytest.mark.matplotlib
66+
@pytest.mark.skip
6767
def test_bar_data():
6868
fig, ax = plt.subplots()
6969
ax.bar(D["x1"], D["y1"])
@@ -74,7 +74,7 @@ def test_bar_data():
7474
)
7575

7676

77-
@pytest.mark.matplotlib
77+
@pytest.mark.skip
7878
def test_bars_data():
7979
fig, ax = plt.subplots()
8080
ax.bar(D["x1"], D["y1"], color="r")

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_lines.py

Lines changed: 2 additions & 2 deletions
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_simple_line():
1818
fig, ax = plt.subplots()
1919
ax.plot(D["x1"], D["y1"], label="simple")
@@ -29,7 +29,7 @@ def test_simple_line():
2929
assert equivalent, msg
3030

3131

32-
@pytest.mark.matplotlib
32+
@pytest.mark.skip
3333
def test_complicated_line():
3434
fig, ax = plt.subplots()
3535
ax.plot(D["x1"], D["y1"], "ro", markersize=10, alpha=0.5, label="one")

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)

0 commit comments

Comments
 (0)