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

Function fromRadians

src/plots/polar/set_convert.js:88–90  ·  view source on GitHub ↗
(v, unit)

Source from the content-addressed store, hash-verified

86}
87
88function fromRadians(v, unit) {
89 return unit === 'degrees' ? rad2deg(v) : v;
90}
91
92function setConvertAngular(ax, polarLayout) {
93 var axType = ax.type;

Callers 1

setConvertAngularFunction · 0.85

Calls 1

rad2degFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…