93e0f39c8ed9a5a51d0acd38a885aaed96dd7c0e,lib/mpl_toolkits/axisartist/axis_artist.py,AxisArtist,set_axislabel_direction,#AxisArtist#Any#,897
Before Change
----------
tick_direction : {"+", "-"}
if label_direction not in ["+", "-"]:
raise ValueError("direction must be one of "+", "-"")
if label_direction == "-":
self._axislabel_add_angle = 180
else:
self._axislabel_add_angle = 0
def get_transform(self):
return self.axes.transAxes + self.offset_transform
def get_helper(self):
After Change
----------
tick_direction : {"+", "-"}
cbook._check_in_list(["+", "-"], label_direction=label_direction)
self._axislabel_add_angle = {"+": 0, "-": 180}[label_direction]
def get_transform(self):
return self.axes.transAxes + self.offset_transform
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 16
Instances
Project Name: matplotlib/matplotlib
Commit Name: 93e0f39c8ed9a5a51d0acd38a885aaed96dd7c0e
Time: 2019-02-23
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_axislabel_direction
Project Name: matplotlib/matplotlib
Commit Name: 93e0f39c8ed9a5a51d0acd38a885aaed96dd7c0e
Time: 2019-02-23
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_axislabel_direction
Project Name: matplotlib/matplotlib
Commit Name: c0f839bf9b332c410f393ed330271fbcf8128f40
Time: 2019-02-22
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: 93e0f39c8ed9a5a51d0acd38a885aaed96dd7c0e
Time: 2019-02-23
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_ticklabel_direction
Project Name: matplotlib/matplotlib
Commit Name: c0f839bf9b332c410f393ed330271fbcf8128f40
Time: 2019-02-22
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axis_artist.py
Class Name: AxisArtist
Method Name: set_ticklabel_direction