199f387b50df1f32ded6ac5d54b68f08f009661b,deeplabcut/generate_training_dataset/multiple_individual_labeling_toolbox.py,MainFrame,nextImage,#MainFrame#Any#,473

Before Change


        self.individualrdb.SetSelection(0)
        self.file = 1
// Refreshing the button counters
        self.axes.clear()
        self.buttonCounter = {i : [] for i in self.individual_names}
        MainFrame.saveEachImage(self)
        self.iter = self.iter + 1

        if len(self.index) >= self.iter:
            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


            self.img = self.index[self.iter]
            img_name = Path(self.index[self.iter]).name
            self.figure,self.axes,self.canvas,self.toolbar,self.image_axis = self.image_panel.drawplot(self.img,img_name,self.iter,self.index,self.multibodyparts,self.colormap,keep_view=self.view_locked)
            self.axes.callbacks.connect("xlim_changed", self.onZoom)
            self.axes.callbacks.connect("ylim_changed", self.onZoom)
            if self.rdb.GetStringSelection=="single":
                self.norm,self.colorIndex = self.image_panel.getColorIndices(self.img,self.uniquebodyparts)
                self.buttonCounter  = MainFrame.plot(self,self.img)
            else:
                self.norm,self.colorIndex = self.image_panel.getColorIndices(self.img,self.multibodyparts)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 16

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 199f387b50df1f32ded6ac5d54b68f08f009661b
Time: 2019-09-19
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/multiple_individual_labeling_toolbox.py
Class Name: MainFrame
Method Name: nextImage


Project Name: AlexEMG/DeepLabCut
Commit Name: 199f387b50df1f32ded6ac5d54b68f08f009661b
Time: 2019-09-19
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/multiple_individual_labeling_toolbox.py
Class Name: MainFrame
Method Name: OnSliderScroll


Project Name: AlexEMG/DeepLabCut
Commit Name: 199f387b50df1f32ded6ac5d54b68f08f009661b
Time: 2019-09-19
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/multiple_individual_labeling_toolbox.py
Class Name: MainFrame
Method Name: nextImage


Project Name: AlexEMG/DeepLabCut
Commit Name: 199f387b50df1f32ded6ac5d54b68f08f009661b
Time: 2019-09-19
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/multiple_individual_labeling_toolbox.py
Class Name: MainFrame
Method Name: prevImage