File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ var isValidTextValue = require('../../lib').isValidTextValue;
2222
2323function plot ( gd , cdModule ) {
2424 var fullLayout = gd . _fullLayout ;
25+ var gs = fullLayout . _size ;
2526
2627 prerenderTitles ( cdModule , gd ) ;
27- layoutAreas ( cdModule , fullLayout . _size ) ;
28+ layoutAreas ( cdModule , gs ) ;
2829
2930 var plotGroups = Lib . makeTraceGroups ( fullLayout . _pielayer , cdModule , 'trace' ) . each ( function ( cd ) {
3031 var plotGroup = d3 . select ( this ) ;
@@ -228,7 +229,7 @@ function plot(gd, cdModule) {
228229 if ( trace . title . position === 'middle center' ) {
229230 transform = positionTitleInside ( cd0 ) ;
230231 } else {
231- transform = positionTitleOutside ( cd0 , fullLayout . _size ) ;
232+ transform = positionTitleOutside ( cd0 , gs ) ;
232233 }
233234
234235 titleText . attr ( 'transform' ,
You can’t perform that action at this time.
0 commit comments