I am getting this error for using self.b2 inside the function update_plot with the condition , I don\'t know why this error occurs despite I am using another button with the