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() {
23932393 } ) ;
23942394
23952395 it ( 'should change width when legend has entrywidth' , function ( done ) {
2396- var extendedLayout = Lib . extendDeep ( [ ] , layout ) ;
2396+ var extendedLayout = Lib . extendDeep ( { } , layout ) ;
23972397 var width = 50 ;
23982398 extendedLayout . legend . entrywidth = width ;
23992399
@@ -2421,7 +2421,7 @@ describe('legend with custom legendwidth', function() {
24212421 } ) ;
24222422
24232423 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 ) ;
24252425 extendedLayout . legend . entrywidthmode = 'fraction' ;
24262426 extendedLayout . legend . entrywidth = 0.3 ;
24272427
You can’t perform that action at this time.
0 commit comments