Skip to content

Commit 6d41a37

Browse files
committed
comment on hasSVGCartesian
1 parent 27d2ca2 commit 6d41a37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plot_api/subroutines.js

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ exports.lsInner = function(gd) {
4545
var gs = fullLayout._size;
4646
var pad = gs.p;
4747
var axList = Plotly.Axes.list(gd);
48+
49+
// _has('cartesian') means SVG specifically, not GL2D - but GL2D
50+
// can still get here because it makes some of the SVG structure
51+
// for shared features like selections.
4852
var hasSVGCartesian = fullLayout._has('cartesian');
4953
var i;
5054

0 commit comments

Comments
 (0)