Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.js
/ toRadians
Function
toRadians
src/plots/polar/set_convert.js:84–86 ·
view source on GitHub ↗
(v, unit)
Source
from the content-addressed store, hash-verified
82
}
83
84
function
toRadians(v, unit) {
85
return
unit ===
'degrees'
? deg2rad(v) : v;
86
}
87
88
function
fromRadians(v, unit) {
89
return
unit ===
'degrees'
? rad2deg(v) : v;
Callers
1
setConvertAngular
Function · 0.85
Calls
1
deg2rad
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…