A B Testing, Data Visualization, Data Science, Analytics, Towards Data Science.
rects2 = plt.bar(index + bar_width, after, bar_width, alpha=opacity, color='g', label='With deal') plt.xlabel('Segments') plt.ylabel('Number of Users') plt.title('Customer behavior after a month') plt.xticks(index + bar_width- 0.18, ('Inactive','Active','Very Active')) plt.legend()