Misleading documentation in TH2D:SetTitleFont

Hi,

the documentation says that one can modify the histogram title font, but the implementation allows only modifications of the axis titles.

305 ////////////////////////////////////////////////////////////////////////////////
306 /// The the axis’ title font.
307 /// if axis ==“x” set the X axis title font
308 /// if axis ==“y” set the Y axis title font
309 /// if axis ==“z” set the Z axis title font
310 /// any other value of axis will set the pad title font
311 ///
312 /// if axis=“xyz” set all 3 axes
313
314 void TH1::SetTitleFont(Style_t font, Option_t *axis)
315 {
316 TString opt = axis;
317 opt.ToLower();
318
319 if (opt.Contains(“x”)) fXaxis.SetTitleFont(font);
320 if (opt.Contains(“y”)) fYaxis.SetTitleFont(font);
321 if (opt.Contains(“z”)) fZaxis.SetTitleFont(font);
322 }

The doc of this method says that it changes only the axis titles’ font.
The histogram title font can be change using gStyle->GetTitleFont