Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def plot_csv():
|
|
| 24 |
df = df.drop(columns=['Unnamed: 2'])
|
| 25 |
|
| 26 |
# Rename columns for easier use
|
| 27 |
-
df.columns = ['Date', 'Median Sales Price']
|
| 28 |
|
| 29 |
# Create a Plotly figure
|
| 30 |
fig = go.Figure()
|
|
@@ -34,7 +34,7 @@ def plot_csv():
|
|
| 34 |
|
| 35 |
# Update the plot layout for a professional look
|
| 36 |
fig.update_layout(
|
| 37 |
-
title="Median Sales Price - Entire MLS",
|
| 38 |
xaxis_title="Date",
|
| 39 |
yaxis_title="Median Sales Price ($)",
|
| 40 |
showlegend=True
|
|
|
|
| 24 |
df = df.drop(columns=['Unnamed: 2'])
|
| 25 |
|
| 26 |
# Rename columns for easier use
|
| 27 |
+
df.columns = ['Date', 'Median Sales Price - Entire Garden State MLS']
|
| 28 |
|
| 29 |
# Create a Plotly figure
|
| 30 |
fig = go.Figure()
|
|
|
|
| 34 |
|
| 35 |
# Update the plot layout for a professional look
|
| 36 |
fig.update_layout(
|
| 37 |
+
title="Median Sales Price - Entire Garden State MLS",
|
| 38 |
xaxis_title="Date",
|
| 39 |
yaxis_title="Median Sales Price ($)",
|
| 40 |
showlegend=True
|