Skip to content

Commit 76ca653

Browse files
committed
Remove stat_smooth from ggplot example
Eliminated the use and import of stat_smooth in the static_plots example app, simplifying the plot output to only include points and facets.
1 parent 2b68234 commit 76ca653

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/static_plots/app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def plotnine():
7878
facet_wrap,
7979
geom_point,
8080
ggplot,
81-
stat_smooth,
8281
theme,
8382
theme_bw,
8483
)
@@ -89,7 +88,6 @@ def plotnine():
8988
return (
9089
ggplot(mtcars, aes(input.x(), input.y(), color=color_var))
9190
+ geom_point()
92-
+ stat_smooth(method="lm")
9391
+ facet_wrap("~gear")
9492
+ theme_bw(base_size=16)
9593
+ theme(legend_position="top")

0 commit comments

Comments
 (0)