cyberosa commited on
Commit
1b041d1
·
1 Parent(s): 79bdafd
Files changed (1) hide show
  1. tabs/dist_gap.py +1 -1
tabs/dist_gap.py CHANGED
@@ -38,7 +38,7 @@ def get_kde_with_trades(markets_data: pd.DataFrame):
38
 
39
  def get_regplot_with_mean_trade_size(markets_data: pd.DataFrame):
40
  """Function to Plot data and a linear regression model fit"""
41
- regplot = sns.regplot(live_fpmms, x="dist_gap_perc", y="mean_trade_size")
42
  plt.ylabel("Mean trade size in USD")
43
  return gr.Plot(value=regplot.get_figure())
44
 
 
38
 
39
  def get_regplot_with_mean_trade_size(markets_data: pd.DataFrame):
40
  """Function to Plot data and a linear regression model fit"""
41
+ regplot = sns.regplot(markets_data, x="dist_gap_perc", y="mean_trade_size")
42
  plt.ylabel("Mean trade size in USD")
43
  return gr.Plot(value=regplot.get_figure())
44