Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ if st.sidebar.button('Submit'):
|
|
| 131 |
|
| 132 |
# Data visualization
|
| 133 |
st.subheader("Visualization of Data Points with Class Labels")
|
| 134 |
-
fig, ax = plt.subplots(figsize=(10,
|
| 135 |
if problem_type in ['Classification', 'Moons', 'Circles']:
|
| 136 |
sns.scatterplot(x=X[:, 0], y=X[:, 1], hue=y, ax=ax)
|
| 137 |
else:
|
|
|
|
| 131 |
|
| 132 |
# Data visualization
|
| 133 |
st.subheader("Visualization of Data Points with Class Labels")
|
| 134 |
+
fig, ax = plt.subplots(figsize=(10, 6))
|
| 135 |
if problem_type in ['Classification', 'Moons', 'Circles']:
|
| 136 |
sns.scatterplot(x=X[:, 0], y=X[:, 1], hue=y, ax=ax)
|
| 137 |
else:
|