You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plt.bar(range(len(app_pivot.ab_test_group)), app_pivot['Percent with Application']*100)
#creating ax object here
ax=plt.subplot()
Wrong order. You should create a subplot first before calling plt.bar. plt.bar creates a subplot by default. If you want it to use your specified one, you should create the subplot and then plot. Since you only have one plot here, you didnt notice any difference. If you had a figure with multiple plots, then you would see plots got misplaced.
ax = plt.subplot()
plt.bar(range(len(app_pivot.ab_test_group)), app_pivot['Percent with Application']*100)
The text was updated successfully, but these errors were encountered:
Capstone/musclehub.py
Lines 377 to 381 in 808f4ed
Wrong order. You should create a subplot first before calling
plt.bar
.plt.bar
creates a subplot by default. If you want it to use your specified one, you should create the subplot and then plot. Since you only have one plot here, you didnt notice any difference. If you had a figure with multiple plots, then you would see plots got misplaced.The text was updated successfully, but these errors were encountered: