Spaces:
Running
Running
Jellyfish042
commited on
Commit
·
cc491fa
1
Parent(s):
54a0a2e
bug fix
Browse files
app.py
CHANGED
@@ -342,7 +342,7 @@ def create_scaling_plot(all_data, period):
|
|
342 |
|
343 |
x_min = connection_points['Log Params(B)'].min()
|
344 |
x_max = connection_points['Log Params(B)'].max()
|
345 |
-
extended_x = np.linspace(x_min, x_max * 1.
|
346 |
extended_x_original = np.exp(extended_x)
|
347 |
trend_line_y = model.predict(extended_x.reshape(-1, 1))
|
348 |
trend_line_y_original = np.exp(trend_line_y)
|
|
|
342 |
|
343 |
x_min = connection_points['Log Params(B)'].min()
|
344 |
x_max = connection_points['Log Params(B)'].max()
|
345 |
+
extended_x = np.linspace(x_min, x_max * 1.25, 100)
|
346 |
extended_x_original = np.exp(extended_x)
|
347 |
trend_line_y = model.predict(extended_x.reshape(-1, 1))
|
348 |
trend_line_y_original = np.exp(trend_line_y)
|