File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2393,7 +2393,7 @@ describe('legend with custom legendwidth', function() {
2393
2393
} ) ;
2394
2394
2395
2395
it ( 'should change width when legend has entrywidth' , function ( done ) {
2396
- var extendedLayout = Lib . extendDeep ( [ ] , layout ) ;
2396
+ var extendedLayout = Lib . extendDeep ( { } , layout ) ;
2397
2397
var width = 50 ;
2398
2398
extendedLayout . legend . entrywidth = width ;
2399
2399
@@ -2421,7 +2421,7 @@ describe('legend with custom legendwidth', function() {
2421
2421
} ) ;
2422
2422
2423
2423
it ( 'should change width when legend has entrywidth and entrywidthmode is fraction' , function ( done ) {
2424
- var extendedLayout = Lib . extendDeep ( [ ] , layout ) ;
2424
+ var extendedLayout = Lib . extendDeep ( { } , layout ) ;
2425
2425
extendedLayout . legend . entrywidthmode = 'fraction' ;
2426
2426
extendedLayout . legend . entrywidth = 0.3 ;
2427
2427
You can’t perform that action at this time.
0 commit comments