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

Function getComputedSize

src/plots/plots.js:1464–1470  ·  view source on GitHub ↗
(attr)

Source from the content-addressed store, hash-verified

1462};
1463
1464function getComputedSize(attr) {
1465 return (
1466 (typeof attr === 'string') &&
1467 (attr.slice(-2) === 'px') &&
1468 parseFloat(attr)
1469 );
1470}
1471
1472
1473plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {

Callers 1

plots.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…