MCPcopy Create free account
hub / github.com/plotly/plotly.js / norm

Function norm

src/plots/polar/polar.js:860–862  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

858 var zb, corners;
859
860 function norm(x, y) {
861 return Math.sqrt(x * x + y * y);
862 }
863
864 function xy2r(x, y) {
865 return norm(x - cxx, y - cyy);

Callers 2

xy2rFunction · 0.70
findPolygonRadiusFunction · 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…