MCPcopy Index your code
hub / github.com/plotly/plotly.js / getBetween

Function getBetween

src/traces/funnelarea/plot.js:181–186  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

179}
180
181function getBetween(a, b) {
182 return [
183 0.5 * (a[0] + b[0]),
184 0.5 * (a[1] + b[1])
185 ];
186}
187
188function setCoords(cd) {
189 if(!cd.length) return;

Callers 1

setCoordsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…