Statically render svg graphs on person view as well
This commit is contained in:
2
utils.py
2
utils.py
@@ -271,7 +271,7 @@ def get_exercise_graph_model(title, estimated_1rm, repetitions, weight, start_da
|
||||
# Generate points along the line of best fit
|
||||
y_best_fit = [m * xi + b for xi in x]
|
||||
best_fit_points = list(zip(y_best_fit, relative_positions))
|
||||
except np.linalg.LinAlgError:
|
||||
except:
|
||||
pass
|
||||
|
||||
# Create messages and zip data for SVG plotting
|
||||
|
||||
Reference in New Issue
Block a user