Attribute error in the lab Classification

Hello everyone!

In the Classification Lab, when I am running the function ‘plt_one_addpt_onclick‘ I am getting an Attribute error in my Jupyter notebook. Can anyone suggest me what I have to do to fix it?

Try changing into this line:

h = bcid.rects[0].get_height()

because the library has been updated.

Thank you for replying me. But it is still showing same error while I am using ‘rects‘ instead of ‘rectangles‘.

Can you verify that you are attending this course on the DL.AI Learning Platform?

Because the file name shown does not match the Coursera version of this course. I tested this issue on the Coursera platform, and it seemed to work correctly.

1 Like

Yes, I am attending this course on the DL.AI Platform and there it is working properly. I have asked that I am getting this in my own Jupyter notebook. So if anyone faced this problem previously and s/he can say why this is happening if s/he detected it (for example whether I have done some mistake in the process of installation etc. or any other mistake), then it will be helpful for me.

Thank you for your response.