aicodingfun commited on
Commit
b7ae03b
·
verified ·
1 Parent(s): 01d43f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ def plot_stock_chart(df: pd.DataFrame, company_name: str) -> plt.Figure:
218
  ax.set_xlabel('Date', fontsize=12)
219
  ax.set_ylabel('Price', fontsize=12)
220
  ax.legend()
221
- ax.grid(True, linestyle='--', alpha=0.6)
222
  plt.xticks(x, ticks, rotation=30)
223
  plt.tight_layout()
224
  return fig
 
218
  ax.set_xlabel('Date', fontsize=12)
219
  ax.set_ylabel('Price', fontsize=12)
220
  ax.legend()
221
+ ax.grid(True, axis='y', linestyle='--', alpha=0.6)
222
  plt.xticks(x, ticks, rotation=30)
223
  plt.tight_layout()
224
  return fig