Commit
·
b2d7917
1
Parent(s):
3e5ab39
Update app.py
Browse files
app.py
CHANGED
@@ -177,6 +177,9 @@ def get_figure(df, gender, n_fit=1):
|
|
177 |
xs = list(range(len(df)))
|
178 |
ys = df[cols[0]]
|
179 |
fig, ax = plt.subplots()
|
|
|
|
|
|
|
180 |
|
181 |
# find stackoverflow reference
|
182 |
p, C_p = np.polyfit(xs, ys, n_fit, cov=1)
|
|
|
177 |
xs = list(range(len(df)))
|
178 |
ys = df[cols[0]]
|
179 |
fig, ax = plt.subplots()
|
180 |
+
# Trying small fig due to rendering issues on HF, not on VS Code
|
181 |
+
fig.set_figheight(4)
|
182 |
+
fig.set_figwidth(8)
|
183 |
|
184 |
# find stackoverflow reference
|
185 |
p, C_p = np.polyfit(xs, ys, n_fit, cov=1)
|