08bff55b59702eec1b01c82a784ccea0ded31aff,lib/mpl_toolkits/axisartist/axis_artist.py,AxisArtist,set_ticklabel_direction,#AxisArtist#Any#,844
Before Change
tick_direction : {"+", "-"}
cbook._check_in_list(["+", "-"], tick_direction=tick_direction)
self._ticklabel_add_angle = {"+": 0, "-": 180}[tick_direction]
def invert_ticklabel_direction(self):
self._ticklabel_add_angle = (self._ticklabel_add_angle + 180) % 360
self.major_ticklabels.invert_axis_direction()
After Change
----------
tick_direction : {"+", "-"}
self._ticklabel_add_angle = cbook._check_getitem(
{"+": 0, "-": 180}, tick_direction=tick_direction)
def invert_ticklabel_direction(self):
self._ticklabel_add_angle = (self._ticklabel_add_angle + 180) % 360
self.major_ticklabels.invert_axis_direction()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: matplotlib/matplotlib
Commit Name: 08bff55b59702eec1b01c82a784ccea0ded31aff
Time: 2019-06-30
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_ticklabel_direction
Project Name: matplotlib/matplotlib
Commit Name: 08bff55b59702eec1b01c82a784ccea0ded31aff
Time: 2019-06-30
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_axislabel_direction
Project Name: matplotlib/matplotlib
Commit Name: 2c03e251bcc40623ed4643ed6e340b9a4fda1bf2
Time: 2020-02-08
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/scale.py
Class Name: LogTransform
Method Name: __init__