x_axis=df['month_number']
y_axis=df['bathingsoap']
plt.bar(x_axis,y_axis,label='bathsoap sales')
plt.xlabel('Months')
plt.ylabel('Soap Sales')
plt.title('bathingsoap sales data')
plt.figure(figsize=(5,5))
plt.legend()
plt.show()
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.