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

Method __repr__

plotly/callbacks.py:130–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self._trace_index = trace_index
129
130 def __repr__(self):
131 return """\
132Points(point_inds={point_inds},
133 xs={xs},
134 ys={ys},
135 trace_name={trace_name},
136 trace_index={trace_index})""".format(
137 point_inds=_list_repr_elided(
138 self.point_inds, indent=len("Points(point_inds=")
139 ),
140 xs=_list_repr_elided(self.xs, indent=len(" xs=")),
141 ys=_list_repr_elided(self.ys, indent=len(" ys=")),
142 trace_name=repr(self.trace_name),
143 trace_index=repr(self.trace_index),
144 )
145
146 @property
147 def point_inds(self):

Callers 2

test_trace_reprMethod · 0.45

Calls 2

_list_repr_elidedFunction · 0.90
formatMethod · 0.45

Tested by 2

test_trace_reprMethod · 0.36