Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Unique Sessions
  2. Date 2016-06-21 2016-06-29
  3. Name
  4. ABCD 995 4,088
  5. EFGH 8 25
  6. OPEF 1 1
  7.  
  8. # df is the stacked DataFrame
  9. plot = df.unstack().plot(kind='bar', stacked=True, title="Test")
  10. plot.set_xlabel("Name")
  11. plot.set_ylabel("Num")
  12. plt.savefig('testplot.png', dpi=1000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement