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

Function newAxLayoutOut

src/plots/cartesian/layout_defaults.js:144–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 var axLayoutOut;
143
144 function newAxLayoutOut() {
145 var traces = ax2traces[axName] || [];
146 axLayoutOut._traceIndices = traces.map(function(t) { return t.index; });
147 axLayoutOut._annIndices = [];
148 axLayoutOut._shapeIndices = [];
149 axLayoutOut._selectionIndices = [];
150 axLayoutOut._imgIndices = [];
151 axLayoutOut._subplotsWith = [];
152 axLayoutOut._counterAxes = [];
153 axLayoutOut._name = axLayoutOut._attr = axName;
154 axLayoutOut._id = axId;
155 }
156
157 function coerce(attr, dflt) {
158 return Lib.coerce(axLayoutIn, axLayoutOut, layoutAttributes, attr, dflt);

Callers 1

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