Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unique Sessions
- Date 2016-06-21 2016-06-29
- Name
- ABCD 995 4,088
- EFGH 8 25
- OPEF 1 1
- # df is the stacked DataFrame
- plot = df.unstack().plot(kind='bar', stacked=True, title="Test")
- plot.set_xlabel("Name")
- plot.set_ylabel("Num")
- plt.savefig('testplot.png', dpi=1000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement