Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import pandas as pd
- df = pd.DataFrame({'Policy':['MCTS', 'deffense'], 'Wins': [policy1_wins, policy2_wins]})
- ax = df.plot.bar(x='Policy', y='Wins', rot=0, alpha=0.5, color=['r', 'b'], stacked=True)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement