MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_yticks

Method set_yticks

lib/matplotlib/axes/_secondary_axes.py:158–163  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

156
157 @functools.wraps(_AxesBase.set_yticks)
158 def set_yticks(self, *args, **kwargs):
159 if self._orientation == "x":
160 raise TypeError("Cannot set yticks on a secondary x-axis")
161 ret = super().set_yticks(*args, **kwargs)
162 self._ticks_set = True
163 return ret
164
165 @functools.wraps(Axis.set_ticks)
166 def set_ticks(self, *args, **kwargs):

Callers 15

make_matplotlib_iconFunction · 0.80
test_minor_ticksFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
yticksFunction · 0.80
set_rticksMethod · 0.80
set_rgridsMethod · 0.80
psdMethod · 0.80
csdMethod · 0.80
test_spines_capstyleFunction · 0.80
test_spines_black_axesFunction · 0.80

Calls

no outgoing calls

Tested by 15

test_minor_ticksFunction · 0.64
test_spines_capstyleFunction · 0.64
test_spines_black_axesFunction · 0.64
test_grayscale_alphaFunction · 0.64
test_truetype_conversionFunction · 0.64
test_font_heuristicaFunction · 0.64
test_font_dejavusansFunction · 0.64
test_integration_optionsFunction · 0.64