Skip to content

Commit d369fcf

Browse files
committed
make black happy
1 parent 00ace72 commit d369fcf

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

packages/python/plotly/plotly/tests/test_core/test_figure_widget_backend/test_validate_no_frames.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import plotly.graph_objs as go
33
import pytest
44

5+
56
class TestNoFrames(TestCase):
67
if "FigureWidget" in go.__dict__.keys():
78

packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_template.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,17 @@ def test_defaults_in_property_assignment(self):
107107

108108
def test_invalid_defaults_property_name_constructor(self):
109109
with pytest.raises(ValueError):
110-
go.Figure(layout={"template": {"layout": {"imagedefaults": {"bogus": 500}}}})
110+
go.Figure(
111+
layout={"template": {"layout": {"imagedefaults": {"bogus": 500}}}}
112+
)
111113

112114
def test_invalid_defaults_property_value_constructor(self):
113115
with pytest.raises(ValueError):
114116
go.Figure(
115117
layout={
116-
"template": {"layout": {"imagedefaults": {"sizex": "str not number"}}}
118+
"template": {
119+
"layout": {"imagedefaults": {"sizex": "str not number"}}
120+
}
117121
}
118122
)
119123

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
if matplotlylib:
1212
import matplotlib.pyplot as plt
1313

14+
1415
@pytest.mark.matplotlib
1516
def test_vertical_bar():
1617
fig, ax = plt.subplots()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
if matplotlylib:
1212
import matplotlib.pyplot as plt
1313

14+
1415
@pytest.mark.matplotlib
1516
def test_line_data():
1617
fig, ax = plt.subplots()

0 commit comments

Comments
 (0)