Skip to content

Commit 4452868

Browse files
committed
Black
1 parent 2fa09e5 commit 4452868

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/python/plotly/_plotly_utils/basevalidators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ def is_typed_array_spec(v):
294294

295295
def has_skipped_key(all_parent_keys):
296296
"""
297-
Return whether any keys in the parent hierarchy are in the list of keys that
297+
Return whether any keys in the parent hierarchy are in the list of keys that
298298
are skipped for conversion to the typed array spec
299299
"""
300-
skipped_keys = ['geojson', 'layer', 'range']
300+
skipped_keys = ["geojson", "layer", "range"]
301301
return any(skipped_key in all_parent_keys for skipped_key in skipped_keys)
302302

303303

packages/python/plotly/plotly/tests/test_optional/test_graph_objs/test_skipped_b64_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_np_layers(self):
6868

6969
fig = go.Figure(data=data, layout=layout)
7070

71-
assert fig.layout['mapbox']['layers'][0]['line']['dash'] == (2.5, 1)
71+
assert fig.layout["mapbox"]["layers"][0]["line"]["dash"] == (2.5, 1)
7272

7373
assert (
7474
fig.layout["mapbox"]["layers"][0]["source"]["features"][0]["geometry"][

0 commit comments

Comments
 (0)