Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig = plt.figure(figsize=(100,80))
- sns.set(font_scale=12.5)
- legend = ["2019", "2020", "2021"]
- colors = ['yellow','blue', 'red']
- i = 0
- for frame in [month_total_Amount_2019, month_total_Amount_2020, month_total_Amount_2021]:
- plt.bar(frame['TransactionDate'], frame['SapExtendedValue'], color = colors[i], alpha = 0.4 )
- i += 1
- plt.xticks(rotation = 90)
- plt.legend(legend)
- plt.title('Total Sales Application level 2 Category in 2019, 2020 and 2021')
- plt.xlabel('Transaction Month')
- plt.ylabel('Total Sales')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement