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

Function fig

test/jasmine/tests/click_test.js:1171–1190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1169 afterEach(destroyGraphDiv);
1170
1171 function fig() {
1172 var x = [];
1173 var y = [];
1174 for (var i = 0; i <= 20; i++) {
1175 for (var j = 0; j <= 20; j++) {
1176 x.push(i);
1177 y.push(j);
1178 }
1179 }
1180 return {
1181 data: [{x: x, y: y, mode: 'markers'}],
1182 layout: {
1183 width: 400,
1184 height: 400,
1185 margin: {l: 100, r: 100, t: 100, b: 100},
1186 xaxis: {range: [0, 20]},
1187 yaxis: {range: [0, 20]},
1188 }
1189 };
1190 }
1191
1192 it('should select the same point in regular and shadow DOM', function(done) {
1193 var clickData;

Callers 1

click_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected