from collections import defaultdict import json, math, gdown import numpy as np import pandas as pd import plotly.express as px from tqdm import tqdm pd.options.display.float_format = '{:.2f}'.format battles = np.linspace(0, 100, 100) fig = px.bar(battles, title="Counts of Battle Outcomes", text_auto=True, height=400) fig.update_layout(xaxis_title="Battle Outcome", yaxis_title="Count", showlegend=False) fig.show()