MCPcopy Create free account
hub / github.com/matplotlib/matplotlib / set_pad

Method set_pad

lib/mpl_toolkits/axisartist/axis_artist.py:316–328  ·  view source on GitHub ↗

Set the internal pad in points. The actual pad will be the sum of the internal pad and the external pad (the latter is set automatically by the `.AxisArtist`). Parameters ---------- pad : float The internal pad in points.

(self, pad)

Source from the content-addressed store, hash-verified

314 self.set_axis_direction(axis_direction)
315
316 def set_pad(self, pad):
317 """
318 Set the internal pad in points.
319
320 The actual pad will be the sum of the internal pad and the
321 external pad (the latter is set automatically by the `.AxisArtist`).
322
323 Parameters
324 ----------
325 pad : float
326 The internal pad in points.
327 """
328 self._pad = pad
329
330 def get_pad(self):
331 """

Callers 5

test_axes3d_labelpadFunction · 0.45
LABELPADMethod · 0.45
_init_labelMethod · 0.45
test_ticklabelsFunction · 0.45
test_axis_artistFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_axes3d_labelpadFunction · 0.36
test_ticklabelsFunction · 0.36
test_axis_artistFunction · 0.36