File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ function handleSubplotObjs(layoutAttributes) {
286286 var subplotRegistry = subplotsRegistry [ subplotType ] ,
287287 isSubplotObj ;
288288
289- if ( subplotType === 'cartesian' ) {
289+ if ( subplotType === 'cartesian' || subplotType === 'gl2d' ) {
290290 isSubplotObj = (
291291 subplotRegistry . attrRegex . x . test ( k ) ||
292292 subplotRegistry . attrRegex . y . test ( k )
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ plots.registerSubplot = function(_module) {
140140
141141 var regexStart = '^' ,
142142 regexEnd = '([2-9]|[1-9][0-9]+)?$' ,
143- hasXY = ( plotType === 'cartesian' || subplotsRegistry === 'gl2d' ) ;
143+ hasXY = ( plotType === 'cartesian' || plotType === 'gl2d' ) ;
144144
145145 function makeRegex ( mid ) {
146146 return new RegExp ( regexStart + mid + regexEnd ) ;
You can’t perform that action at this time.
0 commit comments