Skip to content

Commit 2a0241d

Browse files
committed
format
1 parent 9243f6d commit 2a0241d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

plotly/graph_objs/layout/_template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
55

6-
class Template(_BaseLayoutHierarchyType):
76

7+
class Template(_BaseLayoutHierarchyType):
88
# class properties
99
# --------------------
1010
_parent_path_str = "layout"

tests/test_core/test_graph_objs/test_graph_objs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848

4949
class TestBackwardsCompat(TestCase):
5050
def test_old_class_names(self):
51-
5251
# these were all defined at one point, we want to maintain backwards
5352
# compat, so we basically just create a checkpoint with this test.
5453

@@ -157,6 +156,7 @@ def test_pop_invalid_prop_key_error(self):
157156
def test_pop_invalid_prop_with_default(self):
158157
self.assertEqual(self.layout.pop("bogus", 42), 42)
159158

159+
160160
class TestDeprecationWarnings(TestCase):
161161
def test_warn_on_deprecated_mapbox_traces(self):
162162
# This test will fail if any of the following traces

tests/test_optional/test_px/test_px.py

+2
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ def test_warn_on_deprecated_mapbox_px_constructors():
415415
else:
416416
fig_constructor(lat=[10, 20, 30], lon=[10, 20, 30])
417417

418+
418419
def test_no_warn_on_non_deprecated_px_constructors():
419420
# This test will fail if any of the following px constructors
420421
# emits a DeprecationWarning
@@ -434,6 +435,7 @@ def test_no_warn_on_non_deprecated_px_constructors():
434435
else:
435436
fig_constructor(x=[1, 2, 3], y=[1, 2, 3])
436437

438+
437439
def test_no_warn_on_update_template():
438440
# This test will fail if update_layout(template=...) emits a DeprecationWarning
439441
fig = px.line(x=[1, 2, 3], y=[1, 2, 3])

0 commit comments

Comments
 (0)