b715a349a448a16132aaa97038167c4301b9a206,lib/mpl_toolkits/axisartist/axislines.py,Fixed,get_tick_iterators,#Fixed#Any#,216

Before Change


            major = self.axis.major
            majorLocs = major.locator()
            major.formatter.set_locs(majorLocs)
            majorLabels = [major.formatter(val, i)
                           for i, val in enumerate(majorLocs)]

            minor = self.axis.minor
            minorLocs = minor.locator()
            minor.formatter.set_locs(minorLocs)
            minorLabels = [minor.formatter(val, i)
                           for i, val in enumerate(minorLocs)]

            trans_tick = self.get_tick_transform(axes)

            tr2ax = trans_tick + axes.transAxes.inverted()

After Change


            major = self.axis.major
            majorLocs = major.locator()
            major.formatter.set_locs(majorLocs)
            majorLabels = major.formatter.format_ticks(majorLocs)

            minor = self.axis.minor
            minorLocs = minor.locator()
            minor.formatter.set_locs(minorLocs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: matplotlib/matplotlib
Commit Name: b715a349a448a16132aaa97038167c4301b9a206
Time: 2019-01-28
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axislines.py
Class Name: Fixed
Method Name: get_tick_iterators


Project Name: matplotlib/matplotlib
Commit Name: b715a349a448a16132aaa97038167c4301b9a206
Time: 2019-01-28
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axislines.py
Class Name: Floating
Method Name: get_tick_iterators


Project Name: matplotlib/matplotlib
Commit Name: b715a349a448a16132aaa97038167c4301b9a206
Time: 2019-01-28
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: iter_ticks


Project Name: matplotlib/matplotlib
Commit Name: b715a349a448a16132aaa97038167c4301b9a206
Time: 2019-01-28
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axislines.py
Class Name: Fixed
Method Name: get_tick_iterators