MCPcopy Index your code
hub / github.com/plotly/plotly.py / shift

Method shift

plotly/graph_objs/layout/_yaxis.py:1217–1234  ·  view source on GitHub ↗

Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `

(self)

Source from the content-addressed store, hash-verified

1215
1216 @property
1217 def shift(self):
1218 """
1219 Moves the axis a given number of pixels from where it would
1220 have been otherwise. Accepts both positive and negative values,
1221 which will shift the axis either right or left, respectively.
1222 If `autoshift` is set to true, then this defaults to a padding
1223 of -3 if `side` is set to "left". and defaults to +3 if `side`
1224 is set to "right". Defaults to 0 if `autoshift` is set to
1225 false. Only has an effect if `anchor` is set to "free".
1226
1227 The 'shift' property is a number and may be specified as:
1228 - An int or float
1229
1230 Returns
1231 -------
1232 int|float
1233 """
1234 return self["shift"]
1235
1236 @shift.setter
1237 def shift(self, val):

Callers 15

$tFunction · 0.45
TrFunction · 0.45
ArFunction · 0.45
"src/lib/queue.js"Function · 0.45
oeFunction · 0.45
aeFunction · 0.45
vFunction · 0.45
fFunction · 0.45
faFunction · 0.45
pFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected