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

Method offset

plotly/graph_objs/_bar.py:765–779  ·  view source on GitHub ↗

Shifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead. The 'offset' property is a number and may be specified as: - An int or float -

(self)

Source from the content-addressed store, hash-verified

763
764 @property
765 def offset(self):
766 """
767 Shifts the position where the bar is drawn (in position axis
768 units). In "group" barmode, traces that set "offset" will be
769 excluded and drawn in "overlay" mode instead.
770
771 The 'offset' property is a number and may be specified as:
772 - An int or float
773 - A tuple, list, or one-dimensional numpy array of the above
774
775 Returns
776 -------
777 int|float|numpy.ndarray
778 """
779 return self["offset"]
780
781 @offset.setter
782 def offset(self, val):

Callers 8

wiFunction · 0.45
SFunction · 0.45
JnFunction · 0.45
vytFunction · 0.45
zeFunction · 0.45
CaFunction · 0.45
SFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected