Skip to content

Commit 597e2ae

Browse files
committed
Remove stat_smooth to fix example tests
1 parent d656fdb commit 597e2ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/static_plots/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,17 @@ def plotnine():
7878
facet_wrap,
7979
geom_point,
8080
ggplot,
81-
stat_smooth,
8281
theme,
8382
theme_bw,
8483
)
8584

8685
color_var = input.color()
8786
if str(mtcars[color_var].dtype) == "int64":
8887
color_var = f"factor({color_var})"
88+
8989
return (
9090
ggplot(mtcars, aes(input.x(), input.y(), color=color_var))
9191
+ geom_point()
92-
+ stat_smooth(method="lm")
9392
+ facet_wrap("~gear")
9493
+ theme_bw(base_size=16)
9594
+ theme(legend_position="top")

0 commit comments

Comments
 (0)