self.updatedCoords = []
self.img = self.index[self.iter]
img_name = Path(self.index[self.iter]).name
self.figure.delaxes(self.figure.axes[1]) // Removes the axes corresponding to the colorbar
self.figure,self.axes,self.canvas,self.toolbar = self.image_panel.drawplot(self.img,img_name,self.iter,self.index,self.bodyparts,self.colormap)
self.buttonCounter = MainFrame.plot(self,self.img)
self.cidClick = self.canvas.mpl_connect("button_press_event", self.onClick)
After Change
Checks the previous Image and enables user to move the annotations.
self.individualrdb.SetSelection(0)
MainFrame.select_individual(self,event)
// Checks for the first image and disables the Previous button
if self.iter == 0:
self.prev.Enable(False)