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

Function assertSubplots

test/jasmine/tests/plots_test.js:885–891  ·  view source on GitHub ↗
(opts, msg)

Source from the content-addressed store, hash-verified

883 // others should be counts: gl3d, geo, mapbox, map, parcoords, pie, ternary
884 // if omitted, that subplot type is assumed to not exist
885 function assertSubplots(opts, msg) {
886 msg = msg || '';
887 assertCartesian(opts.cartesian || [], opts.gl2d || [], msg);
888 Object.keys(subplotSelectors).forEach(function(type) {
889 assertSubplot(type, opts[type] || 0, msg);
890 });
891 }
892
893 var jsLogo = 'https://images.plot.ly/language-icons/api-home/js-logo.png';
894

Callers 1

plots_test.jsFile · 0.85

Calls 2

assertCartesianFunction · 0.85
assertSubplotFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…