Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4aca07f

Browse files
committed
Apply formatting 💄
1 parent 5952df4 commit 4aca07f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎packages/python/plotly/plotly/io/_orca.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,16 @@ def wrapper(*args, **kwargs):
124124
except Exception as e:
125125
elapsed_time = time.time() - start_time
126126
if elapsed_time * 1000 >= max_delay:
127-
raise TimeoutError(f"Retry limit of {max_delay} milliseconds reached.") from e
128-
127+
raise TimeoutError(
128+
f"Retry limit of {max_delay} milliseconds reached."
129+
) from e
130+
129131
wait_time = random.uniform(min_wait, max_wait)
130132
print(f"Retrying in {wait_time:.2f} seconds due to {e}...")
131133
time.sleep(wait_time)
132-
134+
133135
return wrapper
136+
134137
return decorator
135138

136139

‎packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def test_px_templates():
161161

162162
# don't overwrite top margin when set in template
163163
fig = px.scatter(title="yo")
164+
fig.show()
164165
assert fig.layout.margin.t is None
165166

166167
fig = px.scatter()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /