Skip to content

Commit e325e90

Browse files
committed
🥭 improve readability
1 parent fb0aaa0 commit e325e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly_resampler/figure_resampler/figurewidget_resampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _update_x_ranges(self, layout, *x_ranges, force_update: bool = False):
119119
if (
120120
"range" in layout[xaxis_str]
121121
and self._prev_layout[xaxis_str].get("range", []) != x_range
122-
or force_update and x_range is not None
122+
or (force_update and x_range is not None)
123123
):
124124
# a change took place -> add to the relayout dict
125125
relayout_dict[f"{xaxis_str}.range[0]"] = x_range[0]

0 commit comments

Comments
 (0)