C1_W1 lab_utils_uni.py

In a function
def plt_gradients(x_train,y_train, f_compute_cost, f_compute_gradient)


Why is line 361 needed?
It seems to me that it is covered at line 362.
I look forward to your answer.

Hi @Huanran_Chen
line 361 it’s may be a simple additional line isn’t useful