Create a draw_bar_plotCreate a draw_bar_plot function

Tell us what’s happening:
Hi all. I am having issues drawing this chart. How are you capturing average daily sales?
Here is my code:
df_bar = df.copy()
df_bar.reset_index(inplace=True)
df_bar[‘year’]=pd.DatetimeIndex(df_bar[‘date’]).year
df_bar[‘Months’]=pd.DatetimeIndex(df_bar[‘date’]).month_name()

fig, ax = plt.subplots(figsize=(12,8))
ax = sns.barplot(x=“year”, y=“value”, hue=‘Months’, data=df_bar,)
ax.set_xlabel(‘Years’)
ax.set_ylabel(‘Average Page Views’)

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36.

Link to the challenge:

you have to put hue_order
here’s the code

ax = sns.barplot(x="year", y="value", hue='Months', data=df_bar, 
                 hue_order=['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], ci=None)