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

Function updateElement

src/plots/polar/polar.js:1581–1589  ·  view source on GitHub ↗
(sel, showAttr, attrs)

Source from the content-addressed store, hash-verified

1579}
1580
1581function updateElement(sel, showAttr, attrs) {
1582 if(showAttr) {
1583 sel.attr('display', null);
1584 sel.attr(attrs);
1585 } else if(sel) {
1586 sel.attr('display', 'none');
1587 }
1588 return sel;
1589}

Callers 1

polar.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…