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

Function _argmin

plotly/shapeannotation.py:52–53  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

50
51
52def _argmin(x):
53 return sorted(enumerate(x), key=lambda t: t[1])[0][0]
54
55
56def _argmax(x):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected