6889c6dbf8511382250bea9a5a36ceb0e1912f01,lib/matplotlib/projections/polar.py,PolarAxes,get_yaxis_text1_transform,#PolarAxes#Any#,550
Before Change
valign = [["top", "bottom", "bottom", "top"],
// ["bottom", "bottom", "top", "top"]]
["bottom", "bottom", "bottom", "bottom"]]
halign = [["left", "left", "right", "right"],
// ["left", "right", "right", "left"]]
["left", "left", "left", "left"]]
ind = np.digitize([angle], np.arange(0, 361, 90))[0] - 1
return self._yaxis_text_transform, valign[full][ind], halign[full][ind]
After Change
thetamin, thetamax = self._realViewLim.intervalx
if _is_full_circle_rad(thetamin, thetamax):
return self._yaxis_text_transform, "bottom", "left"
elif self.get_theta_direction() > 0:
halign = "left"
pad_shift = _ThetaShift(self, pad, "min")
else:
halign = "right"
pad_shift = _ThetaShift(self, pad, "max")
return self._yaxis_text_transform + pad_shift, "center", halign
def get_yaxis_text2_transform(self, pad):
if self.get_theta_direction() > 0:
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 8
Instances
Project Name: matplotlib/matplotlib
Commit Name: 6889c6dbf8511382250bea9a5a36ceb0e1912f01
Time: 2017-09-25
Author: tcaswell@gmail.com
File Name: lib/matplotlib/projections/polar.py
Class Name: PolarAxes
Method Name: get_yaxis_text1_transform
Project Name: bethgelab/foolbox
Commit Name: 91e12bf45cc3246241b32e7e4702f2bf72f3894e
Time: 2018-10-20
Author: jonasrauber@users.noreply.github.com
File Name: foolbox/attacks/spatial.py
Class Name: SpatialAttack
Method Name: __call__
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: d59159739f78bacf661fc0a8b47c9b960fe600f6
Time: 2016-08-11
Author: evangelos.stromatias@imse-cnm.csic.es
File Name: snntoolbox/target_simulators/MegaSim_target_sim.py
Class Name: SNN_compiled
Method Name: poisson_spike_generator_megasim_flatten
Project Name: CellProfiler/CellProfiler
Commit Name: 366f95c44e29fbe30919d4a049d3ad78432c402e
Time: 2017-05-02
Author: mcquin@users.noreply.github.com
File Name: cellprofiler/modules/morph.py
Class Name: Morph
Method Name: upgrade_settings
Project Name: senarvi/theanolm
Commit Name: bfc24cb19d739e3a96974c57e18f41503e5b7938
Time: 2016-04-20
Author: seppo.git@marjaniemi.com
File Name: theanolm/commands/train.py
Class Name:
Method Name: train