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) {
286
286
var subplotRegistry = subplotsRegistry [ subplotType ] ,
287
287
isSubplotObj ;
288
288
289
- if ( subplotType === 'cartesian' ) {
289
+ if ( subplotType === 'cartesian' || subplotType === 'gl2d' ) {
290
290
isSubplotObj = (
291
291
subplotRegistry . attrRegex . x . test ( k ) ||
292
292
subplotRegistry . attrRegex . y . test ( k )
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ plots.registerSubplot = function(_module) {
140
140
141
141
var regexStart = '^' ,
142
142
regexEnd = '([2-9]|[1-9][0-9]+)?$' ,
143
- hasXY = ( plotType === 'cartesian' || subplotsRegistry === 'gl2d' ) ;
143
+ hasXY = ( plotType === 'cartesian' || plotType === 'gl2d' ) ;
144
144
145
145
function makeRegex ( mid ) {
146
146
return new RegExp ( regexStart + mid + regexEnd ) ;
You can’t perform that action at this time.
0 commit comments