Closed Zakgas closed 2 years ago
This is as we have changed the parameter names in quite of our functions in version 0.2.0. Check out the Guide here. The correct usage of the function would be
plot_trendline(data = df, team = "Manchester United", color_xg = "#08519c", color_xga = "#cb181d", rolling_average = 2)
Hi,
I was running your code for the Trendline plot, but I got the following error:
Error in plot_trendline(data = df, team = "Manchester United", colour_xg = "#08519c", : unused arguments (colour_xg = "#08519c", colour_xga = "#cb181d", roll_avg = 2)
Any help would be much appreciated!
Thanks in advance.
Zakariah