Skip to content

Commit b8f494f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 01614c6 commit b8f494f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

marimo/_plugins/ui/_impl/plotly.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ def __init__(
138138
initial_value = {}
139139

140140
def add_selection(selection: go.layout.Selection) -> None:
141-
if not all(hasattr(selection, k) for k in ["x0", "x1", "y0", "y1"]):
141+
if not all(
142+
hasattr(selection, k) for k in ["x0", "x1", "y0", "y1"]
143+
):
142144
return
143145

144146
initial_value["range"] = {

0 commit comments

Comments
 (0)