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

Function _assertClip

test/jasmine/tests/scatter_test.js:2007–2013  ·  view source on GitHub ↗
(sel, exp, size, msg)

Source from the content-addressed store, hash-verified

2005 });
2006
2007 function _assertClip(sel, exp, size, msg) {
2008 if(exp === null) {
2009 expect(sel.size()).toBe(0, msg + 'selection should not exist');
2010 } else {
2011 assertClip(sel, exp, size, msg);
2012 }
2013 }
2014
2015 function _assert(layerClips, nodeDisplays, errorBarClips, lineClips) {
2016 var subplotLayer = d3Select('.overplot').select('.xy');

Callers 1

_assertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…