cyberosa commited on
Commit
df6c9e7
·
1 Parent(s): d125423
Files changed (1) hide show
  1. tabs/tokens_votes_dist.py +1 -1
tabs/tokens_votes_dist.py CHANGED
@@ -12,7 +12,7 @@ def get_based_tokens_distribution(market_id: str, all_markets: pd.DataFrame):
12
  """Function to paint the evolution of the probability of the outcomes based on the tokens distributions over time"""
13
  sns.set_style("darkgrid")
14
  selected_market = all_markets.loc[all_markets["id"] == market_id]
15
- ax = selected_market.plotbarh(
16
  x="sample_datetime", y=["first_token_perc", "second_token_perc"], stacked=True
17
  )
18
  # add overall title
 
12
  """Function to paint the evolution of the probability of the outcomes based on the tokens distributions over time"""
13
  sns.set_style("darkgrid")
14
  selected_market = all_markets.loc[all_markets["id"] == market_id]
15
+ ax = selected_market.plot.barh(
16
  x="sample_datetime", y=["first_token_perc", "second_token_perc"], stacked=True
17
  )
18
  # add overall title