plotly: have both geom_line and geom_smooth in the legend and remove the trailing text ",1)" at the end of the legend keys?

The rendering seems to differ in the RStudio IDE by viewport. See this post. If the problem persists elsewhere (shiny?), come back.