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

Method set_pad

lib/matplotlib/axis.py:267–276  ·  view source on GitHub ↗

Set the tick label pad in points Parameters ---------- val : float

(self, val)

Source from the content-addressed store, hash-verified

265 return False, {}
266
267 def set_pad(self, val):
268 """
269 Set the tick label pad in points
270
271 Parameters
272 ----------
273 val : float
274 """
275 self._apply_params(pad=val)
276 self.stale = True
277
278 def get_pad(self):
279 """Get the value of the tick label pad in points."""

Callers 2

simple_axis_pad.pyFile · 0.45

Calls 1

_apply_paramsMethod · 0.95

Tested by

no test coverage detected