@@ -81,17 +81,10 @@ function handleAxisDefaults(containerIn, containerOut, options, ternaryLayoutOut
8181 var title = coerce ( 'title.text' , dfltTitle ) ;
8282 containerOut . _hovertitle = title === dfltTitle ? title : letterUpper ;
8383
84- Lib . coerceFont ( coerce , 'title.font' , {
85- weight : options . font . weight ,
86- style : options . font . style ,
87- variant : options . font . variant ,
88- capitalize : options . font . capitalize ,
89- striding : options . font . striding ,
90- shadow : options . font . shadow ,
91- family : options . font . family ,
84+ Lib . coerceFont ( coerce , 'title.font' , options . font , { overrideDflt : {
9285 size : Lib . bigFont ( options . font . size ) ,
9386 color : dfltFontColor
94- } ) ;
87+ } } ) ;
9588
9689 // range is just set by 'min' - max is determined by the other axes mins
9790 coerce ( 'min' ) ;
@@ -104,17 +97,9 @@ function handleAxisDefaults(containerIn, containerOut, options, ternaryLayoutOut
10497
10598 var showTickLabels = coerce ( 'showticklabels' ) ;
10699 if ( showTickLabels ) {
107- Lib . coerceFont ( coerce , 'tickfont' , {
108- weight : options . font . weight ,
109- style : options . font . style ,
110- variant : options . font . variant ,
111- capitalize : options . font . capitalize ,
112- striding : options . font . striding ,
113- shadow : options . font . shadow ,
114- family : options . font . family ,
115- size : options . font . size ,
100+ Lib . coerceFont ( coerce , 'tickfont' , options . font , { overrideDflt : {
116101 color : dfltFontColor
117- } ) ;
102+ } } ) ;
118103 coerce ( 'tickangle' ) ;
119104 coerce ( 'tickformat' ) ;
120105 }
0 commit comments