Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. import pandas as pd
  3.  
  4. df = pd.DataFrame({'Policy':['MCTS', 'deffense'], 'Wins': [policy1_wins, policy2_wins]})
  5. ax = df.plot.bar(x='Policy', y='Wins', rot=0, alpha=0.5, color=['r', 'b'], stacked=True)
  6. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement