5591ce6fa3cc3e79fa6cee8c75cec87db59a8721,lib/matplotlib/axis.py,Axis,iter_ticks,#Axis#,1012

Before Change


        
        Iterate through all of the major and minor ticks.
        
        major_locs = self.major.locator()
        major_ticks = self.get_major_ticks(len(major_locs))
        major_labels = self.major.formatter.format_ticks(major_locs)

        minor_locs = self.minor.locator()
        minor_ticks = self.get_minor_ticks(len(minor_locs))
        minor_labels = self.minor.formatter.format_ticks(minor_locs)

After Change


        
        Yield ``(Tick, location, label)`` tuples for major and minor ticks.
        
        major_locs = self.get_majorticklocs()
        major_labels = self.major.formatter.format_ticks(major_locs)
        major_ticks = self.get_major_ticks(len(major_locs))
        yield from zip(major_ticks, major_locs, major_labels)
        minor_locs = self.get_minorticklocs()
        minor_labels = self.minor.formatter.format_ticks(minor_locs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: matplotlib/matplotlib
Commit Name: 5591ce6fa3cc3e79fa6cee8c75cec87db59a8721
Time: 2019-02-23
Author: jklymak@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: iter_ticks


Project Name: matplotlib/matplotlib
Commit Name: 8d4cee5019df3f05f3e2e10dfc26177527bd5b42
Time: 2019-04-11
Author: tcaswell@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: _update_ticks


Project Name: matplotlib/matplotlib
Commit Name: d35fc5b26e5baaf263782fb401b7dec7278420c8
Time: 2019-04-14
Author: efiring@hawaii.edu
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: _update_ticks


Project Name: matplotlib/matplotlib
Commit Name: 97eceb118ed35175167af15fbc2577d360f5351f
Time: 2019-02-16
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: iter_ticks