Data Analysis with Python Projects - Page View Time Series Visualizer

Tell us what’s happening:
Describe your issue in detail here.
Hi team i am getting this error while plotting bar plot
‘Rectangle’ object has no property ‘ylabel’

my code below which i typed
fig= df_bar.plot.bar(legend=True , figsize =(10,5), ylabel=‘Average Page Views’, xlabel =‘Years’).figure
plt.legend([‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’, ‘October’, ‘November’, ‘December’])

plt.xticks(fontsize =10)
plt.yticks(fontsize =10)

Please let me know any wrong i am doing

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Data Analysis with Python Projects - Page View Time Series Visualizer

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.