Skip to content

Commit 91f6cb7

Browse files
committed
Adjust logspace
1 parent 26755ac commit 91f6cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks_jason/max_of_K_all_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3731,7 +3731,7 @@ def do_linear_regression(X, Y):
37313731
# legend=False,
37323732
)
37333733
if include_baseline:
3734-
x_vals = np.logspace(np.log10(min_flop), np.log10(max_flop), 100)
3734+
x_vals = np.logspace(np.log2(min_flop), np.log2(max_flop), 100, base=2)
37353735
y_vals = brute_force_slope * x_vals
37363736
fig.add_scatter(
37373737
x=x_vals,

0 commit comments

Comments
 (0)