Spaces:
Running
Running
Commit
·
15bfe11
1
Parent(s):
ddb0a48
better fig
Browse files
app.py
CHANGED
|
@@ -286,7 +286,7 @@ def create_scaling_plot(all_data, period):
|
|
| 286 |
|
| 287 |
x_min = connection_points['Log Params(B)'].min()
|
| 288 |
x_max = connection_points['Log Params(B)'].max()
|
| 289 |
-
extended_x = np.linspace(x_min, x_max * 1.
|
| 290 |
extended_x_original = np.exp(extended_x)
|
| 291 |
trend_line_y = model.predict(extended_x.reshape(-1, 1))
|
| 292 |
trend_line_y_original = np.exp(trend_line_y)
|
|
|
|
| 286 |
|
| 287 |
x_min = connection_points['Log Params(B)'].min()
|
| 288 |
x_max = connection_points['Log Params(B)'].max()
|
| 289 |
+
extended_x = np.linspace(x_min, x_max * 1.5, 100)
|
| 290 |
extended_x_original = np.exp(extended_x)
|
| 291 |
trend_line_y = model.predict(extended_x.reshape(-1, 1))
|
| 292 |
trend_line_y_original = np.exp(trend_line_y)
|