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

Function formatAttributes

src/plot_api/plot_schema.js:541–547  ·  view source on GitHub ↗
(attrs)

Source from the content-addressed store, hash-verified

539}
540
541function formatAttributes(attrs) {
542 mergeValTypeAndRole(attrs);
543 formatArrayContainers(attrs);
544 stringify(attrs);
545
546 return attrs;
547}
548
549function mergeValTypeAndRole(attrs) {
550 function makeSrcAttr(attrName) {

Callers 4

plot_schema.jsFile · 0.85
getTraceAttributesFunction · 0.85
getLayoutAttributesFunction · 0.85
getFramesAttributesFunction · 0.85

Calls 3

mergeValTypeAndRoleFunction · 0.85
formatArrayContainersFunction · 0.85
stringifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…