Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|