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

Method __init__

lib/mpl_toolkits/axisartist/axis_artist.py:120–132  ·  view source on GitHub ↗
(self, ticksize, tick_out=False, *, axis=None, **kwargs)

Source from the content-addressed store, hash-verified

118
119 @_api.delete_parameter("3.11", "tick_out", alternative="tick_direction")
120 def __init__(self, ticksize, tick_out=False, *, axis=None, **kwargs):
121 self._ticksize = ticksize
122 self.set_tick_out(tick_out)
123
124 self._axis = axis
125 if self._axis is not None:
126 if "color" not in kwargs:
127 kwargs["color"] = "auto"
128 if "mew" not in kwargs and "markeredgewidth" not in kwargs:
129 kwargs["markeredgewidth"] = "auto"
130
131 Line2D.__init__(self, [0.], [0.], **kwargs)
132 self.set_snap(True)
133
134 def get_ref_artist(self):
135 # docstring inherited

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

set_tick_outMethod · 0.95
set_snapMethod · 0.45

Tested by

no test coverage detected