Skip to content

Commit 1bf7718

Browse files
committed
use explicit return type
1 parent 2767868 commit 1bf7718

File tree

1 file changed

+3
-0
lines changed
  • tests/playwright/shiny/components/data_frame/edit

1 file changed

+3
-0
lines changed

tests/playwright/shiny/components/data_frame/edit/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,16 @@ def country_detail_pop() -> Figure:
269269
import plotly.express as px
270270

271271
return px.line(
272+
fig: Figure = px.line(
272273
px.data.gapminder(),
273274
x="year",
274275
y="lifeExp",
275276
color="country",
276277
title="Population Over Time",
277278
)
278279

280+
return fig
281+
279282
@summary_data.set_patch_fn
280283
def upgrade_patch(
281284
*,

0 commit comments

Comments
 (0)